pingpong: extend the response reading error with errno
To help diagnosing the cause of the problem. See #9380 Closes #9443
This commit is contained in:
parent
51083a197c
commit
5e259d7b23
@ -330,7 +330,7 @@ CURLcode Curl_pp_readresp(struct Curl_easy *data,
|
||||
else if(gotbytes <= 0) {
|
||||
keepon = FALSE;
|
||||
result = CURLE_RECV_ERROR;
|
||||
failf(data, "response reading failed");
|
||||
failf(data, "response reading failed (errno: %d)", SOCKERRNO);
|
||||
}
|
||||
else {
|
||||
/* we got a whole chunk of data, which can be anything from one
|
||||
|
||||
Loading…
Reference in New Issue
Block a user