mirror of
https://github.com/curl/curl.git
synced 2026-08-24 13:43:32 +03:00
request: paused upload on completed download, assess connection
A transfer with a completed download that is still uploading needs to check the connection state when it is PAUSEd, since connection close/errors would otherwise go unnoticed. Reported-by: Sergey Bronnikov Fixes #13260 Closes #13271
This commit is contained in:
parent
d5e83eb745
commit
cfc65fd1ee
7 changed files with 321 additions and 8 deletions
|
|
@ -395,6 +395,7 @@ CURLcode Curl_req_send_more(struct Curl_easy *data)
|
|||
result = req_flush(data);
|
||||
if(result == CURLE_AGAIN)
|
||||
result = CURLE_OK;
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue