components/mercurial/patches/https_proxy.patch
author Vladimir Marek <Vladimir.Marek@oracle.com>
Wed, 04 Mar 2015 16:03:27 +0100
branchs11u2-sru
changeset 3943 93bc1e9a6489
parent 3045 0121e7323666
permissions -rw-r--r--
17541409 dtrace support in perl causes segv core dump from perl scripts.

# 7029500 Mercurial doesn't work through https in snv_161

--- mercurial-2.8.2/mercurial/keepalive.py	Wed Jan  2 03:46:39 2014
+++ mercurial-2.8.2/mercurial/keepalive.py	Wed Jan  2 03:46:39 2014
@@ -247,6 +251,8 @@
             else:
                 # no (working) free connections were found.  Create a new one.
                 h = http_class(host)
+                if req._tunnel_host:
+                        h._set_tunnel(req._tunnel_host)
                 if DEBUG:
                     DEBUG.info("creating new connection to %s (%d)",
                                host, id(h))