mirror of
https://github.com/curl/curl.git
synced 2026-07-28 13:13:06 +03:00
- 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.
This commit is contained in:
parent
1886388791
commit
385e612fa5
19 changed files with 75 additions and 49 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue