diff options
author | Daniel Stenberg <daniel@haxx.se> | 2007-01-16 22:22:10 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2007-01-16 22:22:10 +0000 |
commit | 385e612fa5b7663fc2bc815677b8c27bec2f0fe4 (patch) | |
tree | bc211e48b4e8c57bb90090ab78c885ecab0a5496 /lib/http.c | |
parent | 1886388791fc658b55cdd45b3062556fde7a1375 (diff) |
- Armel Asselin improved libcurl to behave a lot better when an easy handle
doing an FTP transfer is removed from a multi handle before completion. The
fix also fixed the "alive counter" to be correct on "premature removal" for
all protocols.
Diffstat (limited to 'lib/http.c')
-rw-r--r-- | lib/http.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/http.c b/lib/http.c index 0387298c1..babe3f111 100644 --- a/lib/http.c +++ b/lib/http.c @@ -1503,11 +1503,12 @@ int Curl_https_getsock(struct connectdata *conn, */ CURLcode Curl_http_done(struct connectdata *conn, - CURLcode status) + CURLcode status, bool premature) { struct SessionHandle *data = conn->data; struct HTTP *http =data->reqdata.proto.http; struct Curl_transfer_keeper *k = &data->reqdata.keep; + (void)premature; /* not used */ /* set the proper values (possibly modified on POST) */ conn->fread = data->set.fread; /* restore */ |