components/mercurial/patches/https_proxy.patch
changeset 3596 042f4e7a6dbe
parent 3595 3fab3649e6cd
child 3597 c79130430988
equal deleted inserted replaced
3595:3fab3649e6cd 3596:042f4e7a6dbe
     1 # 7029500 Mercurial doesn't work through https in snv_161
       
     2 
       
     3 --- mercurial-2.8.2/mercurial/keepalive.py	Wed Jan  2 03:46:39 2014
       
     4 +++ mercurial-2.8.2/mercurial/keepalive.py	Wed Jan  2 03:46:39 2014
       
     5 @@ -247,6 +251,8 @@
       
     6              else:
       
     7                  # no (working) free connections were found.  Create a new one.
       
     8                  h = http_class(host)
       
     9 +                if req._tunnel_host:
       
    10 +                        h._set_tunnel(req._tunnel_host)
       
    11                  if DEBUG:
       
    12                      DEBUG.info("creating new connection to %s (%d)",
       
    13                                 host, id(h))