Mercurial > hg
view contrib/docker/centos7 @ 29599:e3dc96834126
url: drop support for proxying HTTP (not HTTPS) over CONNECT tunneling
It's been broken since cca59ef27e60, which made ui argument mandatory. I've
tried several combinations of HTTP/HTTPS proxying on old/new Python versions,
but I couldn't figure out how to reach this code path. Also, wrapping HTTP
connection by SSLSocket seems wrong. My understanding is that self.realhostport
is set by _generic_start_transaction() if HTTPS connection is tunneled.
This patch removes proxy tunneling from httpconnection.connect() assuming
that it was dead code from the beginning. Note that HTTPS over tunneling
should be handled by httpsconnection class.
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Sun, 05 Jun 2016 12:29:08 +0900 |
parents | 1d354814ff4d |
children | 1baa077214ae |
line wrap: on
line source
FROM centos:centos7 RUN yum install -y gcc RUN yum install -y python-devel python-docutils RUN yum install -y make RUN yum install -y rpm-build RUN yum install -y gettext RUN yum install -y tar # For creating repo meta data RUN yum install -y createrepo