Scrapy, a fast high-level web crawling & scraping framework for Python.
hold a reference to backwards compatible _contextFactory
Daniel Grañad48158427ae2
diff --git a/scrapy/core/downloader/handlers/http11.py b/scrapy/core/downloader/handlers/http11.pyindex de3cc8756..52eb35eba 100644--- a/scrapy/core/downloader/handlers/http11.py+++ b/scrapy/core/downloader/handlers/http11.py@@ -118,6 +118,7 @@ class TunnelingAgent(Agent):super(TunnelingAgent, self).__init__(reactor, contextFactory,connectTimeout, bindAddress, pool)self._proxyConf = proxyConf+ self._contextFactory = contextFactorydef _getEndpoint(self, scheme, host, port):return TunnelingTCP4ClientEndpoint(self._reactor, host, port,