From: Daniel Stenberg Date: Fri, 30 Jan 2004 12:41:27 +0000 (+0000) Subject: make sure the connection is closed when it was detected reset! X-Git-Tag: cares-1_1_0~400 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=14cb9d296cdc498596291749814f192b8d181ef8;p=curl make sure the connection is closed when it was detected reset! --- diff --git a/lib/transfer.c b/lib/transfer.c index 8e5d6abd3..ac23b11c8 100644 --- a/lib/transfer.c +++ b/lib/transfer.c @@ -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 /*