add proper error message when send() fails
This commit is contained in:
@@ -308,6 +308,9 @@ CURLcode Curl_write(struct connectdata *conn,
|
|||||||
)
|
)
|
||||||
/* this is just a case of EWOULDBLOCK */
|
/* this is just a case of EWOULDBLOCK */
|
||||||
bytes_written=0;
|
bytes_written=0;
|
||||||
|
else
|
||||||
|
failf(conn->data, "Send failure: %s",
|
||||||
|
Curl_strerror(conn, err));
|
||||||
}
|
}
|
||||||
#ifdef USE_SSLEAY
|
#ifdef USE_SSLEAY
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user