diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/transfer.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/transfer.c b/lib/transfer.c index 266b83441..c33cf13fd 100644 --- a/lib/transfer.c +++ b/lib/transfer.c @@ -2085,6 +2085,9 @@ CURLcode Curl_retry_request(struct connectdata *conn, prevent i.e HTTP transfers to return error just because nothing has been transfered! */ + + if(data->state.proto.http->writebytecount) + Curl_readrewind(conn); } return CURLE_OK; } |