make sure the connection is closed when it was detected reset!

This commit is contained in:
Daniel Stenberg 2004-01-30 12:41:27 +00:00
parent df750c236c
commit 14cb9d296c

View File

@ -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
/*