mirror of
https://github.com/curl/curl.git
synced 2026-05-18 14:16:21 +03:00
make sure the connection is closed when it was detected reset!
This commit is contained in:
parent
df750c236c
commit
14cb9d296c
1 changed files with 2 additions and 0 deletions
|
|
@ -1908,6 +1908,8 @@ CURLcode Curl_perform(struct SessionHandle *data)
|
|||
to retry! */
|
||||
infof(data, "Connection reset, retrying a fresh connect\n");
|
||||
newurl = strdup(conn->data->change.url);
|
||||
|
||||
conn->bits.close = TRUE; /* close this connection */
|
||||
}
|
||||
else
|
||||
/*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue