From 36e604fc78396d1f69c20e69e13302bce7471e78 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antti=20H=C3=A4t=C3=A4l=C3=A4?= Date: Tue, 4 Apr 2017 15:50:36 -0400 Subject: url: don't free postponed data on connection reuse - Don't free postponed data on a connection that will be reused since doing so can cause data loss when pipelining. Only Windows builds are affected by this. Closes https://github.com/curl/curl/issues/1380 --- lib/url.c | 1 - 1 file changed, 1 deletion(-) (limited to 'lib/url.c') diff --git a/lib/url.c b/lib/url.c index 33ba783fc..4609f4fda 100644 --- a/lib/url.c +++ b/lib/url.c @@ -6215,7 +6215,6 @@ static void reuse_conn(struct connectdata *old_conn, Curl_persistconninfo(conn); conn_reset_all_postponed_data(old_conn); /* free buffers */ - conn_reset_all_postponed_data(conn); /* reset unprocessed data */ /* re-use init */ conn->bits.reuse = TRUE; /* yes, we're re-using here */ -- cgit v1.2.1