diff options
| author | Daniel Stenberg <daniel@haxx.se> | 2017-09-14 16:49:40 +0200 | 
|---|---|---|
| committer | Daniel Stenberg <daniel@haxx.se> | 2017-09-14 16:49:40 +0200 | 
| commit | 22708eae40411f6c02e76632aa5d5d852b08a214 (patch) | |
| tree | b43af80de033885615eb3a5549bbd8ef592d27a6 /lib | |
| parent | 7e4634cfe869a2bcd69157078ba8d738df9f3066 (diff) | |
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
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/url.c | 1 | 
1 files changed, 1 insertions, 0 deletions
@@ -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);  | 
