mirror of
https://github.com/curl/curl.git
synced 2026-05-30 11:17:30 +03:00
Curl_retry_request: check return code!
Curl_readrewind() was called without checking its return code, which could lead to badness. Bug: http://curl.haxx.se/bug/view.cgi?id=3349227
This commit is contained in:
parent
c8766ed3fb
commit
e40c663d36
1 changed files with 1 additions and 1 deletions
|
|
@ -2081,7 +2081,7 @@ CURLcode Curl_retry_request(struct connectdata *conn,
|
|||
transferred! */
|
||||
|
||||
if(data->state.proto.http->writebytecount)
|
||||
Curl_readrewind(conn);
|
||||
return Curl_readrewind(conn);
|
||||
}
|
||||
return CURLE_OK;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue