gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [gnurl] 154/205: url: don't free postponed data on connecti


From: gnunet
Subject: [GNUnet-SVN] [gnurl] 154/205: url: don't free postponed data on connection reuse
Date: Thu, 20 Apr 2017 16:21:34 +0200

This is an automated email from the git hooks/post-receive script.

ng0 pushed a commit to annotated tag gnurl-7.54.0
in repository gnurl.

commit 36e604fc78396d1f69c20e69e13302bce7471e78
Author: Antti Hätälä <address@hidden>
AuthorDate: Tue Apr 4 15:50:36 2017 -0400

    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(-)

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 */

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]