Commit 14cb9d29 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

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

parent df750c23
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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
            /*