multi interface with pipelining enabled as it would wrongly check for,
detect and close "dead connections" even though that connection was already
in use!
Changelog
+Daniel Stenberg (19 Jun 2008)
+- Dengminwen found a bug in the connection re-use function when using the
+ multi interface with pipelining enabled as it would wrongly check for,
+ detect and close "dead connections" even though that connection was already
+ in use!
+
Daniel Fandrich (18 Jun 2008)
- Added SSH failure test cases 628-632
o Fixed curl-config --ca
o Fixed the multi interface connection re-use with NSS-built libcurl
+ o connection re-use when using the multi interface with pipelining enabled
This release includes the following known bugs:
advice from friends like these:
Lenny Rachitsky, Axel Tillequin, Arnaud Ebalard, Yang Tse, Dan Fandrich,
- Rob Crittenden
+ Rob Crittenden, Dengminwen
Thanks! (and sorry if I forgot to mention someone)
}
if(match) {
- if(pipeLen == 0) {
- /* The check for a dead socket makes sense only if there
- are no handles in pipeline */
+ if(!pipeLen && !check->inuse) {
+ /* The check for a dead socket makes sense only if there are no
+ handles in pipeline and the connection isn't already marked in
+ use */
bool dead = SocketIsDead(check->sock[FIRSTSOCKET]);
if(dead) {
check->data = data;