mirror of
https://github.com/curl/curl.git
synced 2026-07-16 07:27:15 +03:00
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
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue