diff options
author | Daniel Stenberg <daniel@haxx.se> | 2004-01-30 12:41:27 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2004-01-30 12:41:27 +0000 |
commit | 14cb9d296cdc498596291749814f192b8d181ef8 (patch) | |
tree | 037912f07a3f813df33133dfa6c7cc179ae3935c | |
parent | df750c236c1ffb46d7aa1aade689626f6792b053 (diff) |
make sure the connection is closed when it was detected reset!
-rw-r--r-- | lib/transfer.c | 2 |
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 /* |