mirror of
https://github.com/moparisthebest/curl
synced 2025-02-28 17:31:46 -05: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
@ -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…
x
Reference in New Issue
Block a user