diff options
author | Antti Hätälä <antti@umbrasoftware.com> | 2017-04-04 15:50:36 -0400 |
---|---|---|
committer | Jay Satiro <raysatiro@yahoo.com> | 2017-04-04 16:03:26 -0400 |
commit | 36e604fc78396d1f69c20e69e13302bce7471e78 (patch) | |
tree | 37978ab7723cf3fe9f99ad4c20980ecea527d522 /lib/url.c | |
parent | 5fadd0311cb3180b64bd54042f93fc7bbeb06e07 (diff) | |
download | curl-36e604fc78396d1f69c20e69e13302bce7471e78.tar.gz |
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
Diffstat (limited to 'lib/url.c')
-rw-r--r-- | lib/url.c | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -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 */ |