aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-01-30 12:41:27 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-01-30 12:41:27 +0000
commit14cb9d296cdc498596291749814f192b8d181ef8 (patch)
tree037912f07a3f813df33133dfa6c7cc179ae3935c
parentdf750c236c1ffb46d7aa1aade689626f6792b053 (diff)
make sure the connection is closed when it was detected reset!
-rw-r--r--lib/transfer.c2
1 files changed, 2 insertions, 0 deletions
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
/*