gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [gnurl] 191/256: URL: on connection re-use, still pick the


From: gnunet
Subject: [GNUnet-SVN] [gnurl] 191/256: URL: on connection re-use, still pick the new remote port
Date: Fri, 06 Oct 2017 19:44:42 +0200

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

ng0 pushed a commit to branch master
in repository gnurl.

commit 22708eae40411f6c02e76632aa5d5d852b08a214
Author: Daniel Stenberg <address@hidden>
AuthorDate: Thu Sep 14 16:49:40 2017 +0200

    URL: on connection re-use, still pick the new remote port
    
    ... as when a proxy connection is being re-used, it can still get a
    different remote port.
    
    Fixes #1887
    Reported-by: Oli Kingshott
---
 lib/url.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/url.c b/lib/url.c
index 1bf3a5b86..e3b41528d 100644
--- a/lib/url.c
+++ b/lib/url.c
@@ -6337,6 +6337,7 @@ static void reuse_conn(struct connectdata *old_conn,
   conn->conn_to_host = old_conn->conn_to_host;
   conn->bits.conn_to_port = old_conn->bits.conn_to_port;
   conn->conn_to_port = old_conn->conn_to_port;
+  conn->remote_port = old_conn->remote_port;
 
   /* persist connection info in session handle */
   Curl_persistconninfo(conn);

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



reply via email to

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