diff --git a/lib/transfer.c b/lib/transfer.c index f019bb00e13bcf4621efb8d32ce9d8e1d0a29398..f1896b013ab69541691792f1d266e20a8041af32 100644 --- a/lib/transfer.c +++ b/lib/transfer.c @@ -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; }