mirror of
https://github.com/moparisthebest/curl
synced 2024-12-22 08:08:50 -05:00
when a chunked error is noticed, store the error number in the error string
to enable better error-tracking
This commit is contained in:
parent
8b0668b99e
commit
dee3163d95
@ -831,7 +831,7 @@ CURLcode Curl_readwrite(struct connectdata *conn,
|
|||||||
failf(data, "Failed writing data");
|
failf(data, "Failed writing data");
|
||||||
return CURLE_WRITE_ERROR;
|
return CURLE_WRITE_ERROR;
|
||||||
}
|
}
|
||||||
failf(data, "Received problem in the chunky parser");
|
failf(data, "Received problem %d in the chunky parser", res);
|
||||||
return CURLE_RECV_ERROR;
|
return CURLE_RECV_ERROR;
|
||||||
}
|
}
|
||||||
else if(CHUNKE_STOP == res) {
|
else if(CHUNKE_STOP == res) {
|
||||||
|
Loading…
Reference in New Issue
Block a user