Skip to content
Snippets Groups Projects
Commit e40c663d authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

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
parent c8766ed3
No related branches found
No related tags found
No related merge requests found
......@@ -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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment