mirror of
https://github.com/curl/curl.git
synced 2026-08-25 03:43:31 +03:00
Curl_done() and the protocol-specific conn->curl_done() functions now all
take a CURLcode as a second argument, that is non-zero when Curl_done() is called after an error was returned from Curl_do() (or similar).
This commit is contained in:
parent
1d7ce36791
commit
d60c22572b
11 changed files with 54 additions and 25 deletions
|
|
@ -1172,10 +1172,12 @@ CURLcode Curl_http_connect(struct connectdata *conn)
|
|||
* has been performed.
|
||||
*/
|
||||
|
||||
CURLcode Curl_http_done(struct connectdata *conn)
|
||||
CURLcode Curl_http_done(struct connectdata *conn,
|
||||
CURLcode status)
|
||||
{
|
||||
struct SessionHandle *data;
|
||||
struct HTTP *http;
|
||||
(void)status; /* no use for us */
|
||||
|
||||
data=conn->data;
|
||||
http=conn->proto.http;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue