From 14cb9d296cdc498596291749814f192b8d181ef8 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Fri, 30 Jan 2004 12:41:27 +0000 Subject: make sure the connection is closed when it was detected reset! --- lib/transfer.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/transfer.c') 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 /* -- cgit v1.2.3