mirror of
https://github.com/curl/curl.git
synced 2026-06-01 22:14:17 +03:00
add proper error message when send() fails
This commit is contained in:
parent
84bf03b365
commit
557b6cfd3f
1 changed files with 3 additions and 0 deletions
|
|
@ -308,6 +308,9 @@ CURLcode Curl_write(struct connectdata *conn,
|
|||
)
|
||||
/* this is just a case of EWOULDBLOCK */
|
||||
bytes_written=0;
|
||||
else
|
||||
failf(conn->data, "Send failure: %s",
|
||||
Curl_strerror(conn, err));
|
||||
}
|
||||
#ifdef USE_SSLEAY
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue