Loading lib/multi.c +0 −5 Original line number Diff line number Diff line Loading @@ -402,11 +402,6 @@ CURLMcode curl_multi_add_handle(CURLM *multi_handle, /* Point to the multi's connection cache */ data->state.conn_cache = &multi->conn_cache; if(data->set.httpreq == HTTPREQ_PUT) data->state.infilesize = data->set.filesize; else data->state.infilesize = data->set.postfieldsize; /* This adds the new entry at the 'end' of the doubly-linked circular list of SessionHandle structs to try and maintain a FIFO queue so the pipelined requests are in order. */ Loading lib/transfer.c +5 −0 Original line number Diff line number Diff line Loading @@ -1315,6 +1315,11 @@ CURLcode Curl_pretransfer(struct SessionHandle *data) Curl_safefree(data->info.wouldredirect); data->info.wouldredirect = NULL; if(data->set.httpreq == HTTPREQ_PUT) data->state.infilesize = data->set.filesize; else data->state.infilesize = data->set.postfieldsize; /* If there is a list of cookie files to read, do it now! */ if(data->change.cookielist) Curl_cookie_loadfiles(data); Loading Loading
lib/multi.c +0 −5 Original line number Diff line number Diff line Loading @@ -402,11 +402,6 @@ CURLMcode curl_multi_add_handle(CURLM *multi_handle, /* Point to the multi's connection cache */ data->state.conn_cache = &multi->conn_cache; if(data->set.httpreq == HTTPREQ_PUT) data->state.infilesize = data->set.filesize; else data->state.infilesize = data->set.postfieldsize; /* This adds the new entry at the 'end' of the doubly-linked circular list of SessionHandle structs to try and maintain a FIFO queue so the pipelined requests are in order. */ Loading
lib/transfer.c +5 −0 Original line number Diff line number Diff line Loading @@ -1315,6 +1315,11 @@ CURLcode Curl_pretransfer(struct SessionHandle *data) Curl_safefree(data->info.wouldredirect); data->info.wouldredirect = NULL; if(data->set.httpreq == HTTPREQ_PUT) data->state.infilesize = data->set.filesize; else data->state.infilesize = data->set.postfieldsize; /* If there is a list of cookie files to read, do it now! */ if(data->change.cookielist) Curl_cookie_loadfiles(data); Loading