components/mercurial/patches/https_proxy.patch
author April Chin <april.chin@oracle.com>
Mon, 08 Apr 2013 08:53:46 -0700
branchs11-update
changeset 2552 baac0839cd39
parent 821 5450c885c205
child 1637 54bd5ac8db85
permissions -rw-r--r--
16105174 update ggrep to 2.14 16059697 problem in UTILITY/GGREP PSARC/2013/035 Update GNU grep to 2.14

# 7029500 Mercurial doesn't work through https in snv_161

--- mercurial-1.8.2/mercurial/keepalive.py	Thu May  3 21:06:28 2012
+++ mercurial-1.8.2/mercurial/keepalive.py	Thu May  3 21:06:28 2012
@@ -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))