mirror of
https://github.com/moparisthebest/curl
synced 2024-11-11 20:15:03 -05:00
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
This commit is contained in:
parent
5fadd0311c
commit
36e604fc78
@ -6215,7 +6215,6 @@ static void reuse_conn(struct connectdata *old_conn,
|
|||||||
Curl_persistconninfo(conn);
|
Curl_persistconninfo(conn);
|
||||||
|
|
||||||
conn_reset_all_postponed_data(old_conn); /* free buffers */
|
conn_reset_all_postponed_data(old_conn); /* free buffers */
|
||||||
conn_reset_all_postponed_data(conn); /* reset unprocessed data */
|
|
||||||
|
|
||||||
/* re-use init */
|
/* re-use init */
|
||||||
conn->bits.reuse = TRUE; /* yes, we're re-using here */
|
conn->bits.reuse = TRUE; /* yes, we're re-using here */
|
||||||
|
Loading…
Reference in New Issue
Block a user