Loading lib/transfer.c +7 −2 Changes for lib/transfer.c: 7 added lines, 2 removed lines. Original line number Original line Diff line number Diff line Loading @@ -1705,8 +1705,13 @@ CURLcode Curl_retry_request(struct connectdata *conn, if(conn->handler->protocol&PROTO_FAMILY_HTTP) { if(conn->handler->protocol&PROTO_FAMILY_HTTP) { struct HTTP *http = data->req.protop; struct HTTP *http = data->req.protop; if(http->writebytecount) if(http->writebytecount) { return Curl_readrewind(conn); CURLcode result = Curl_readrewind(conn); if(result) { Curl_safefree(*url); return result; } } } } } } return CURLE_OK; return CURLE_OK; Loading Loading
lib/transfer.c +7 −2 Changes for lib/transfer.c: 7 added lines, 2 removed lines. Original line number Original line Diff line number Diff line Loading @@ -1705,8 +1705,13 @@ CURLcode Curl_retry_request(struct connectdata *conn, if(conn->handler->protocol&PROTO_FAMILY_HTTP) { if(conn->handler->protocol&PROTO_FAMILY_HTTP) { struct HTTP *http = data->req.protop; struct HTTP *http = data->req.protop; if(http->writebytecount) if(http->writebytecount) { return Curl_readrewind(conn); CURLcode result = Curl_readrewind(conn); if(result) { Curl_safefree(*url); return result; } } } } } } return CURLE_OK; return CURLE_OK; Loading