mirror of
https://github.com/scrapy/scrapy.git
synced 2025-02-23 11:03:54 +00:00
hold a reference to backwards compatible _contextFactory
This commit is contained in:
parent
bfe02b019e
commit
d48158427a
@ -118,6 +118,7 @@ class TunnelingAgent(Agent):
|
||||
super(TunnelingAgent, self).__init__(reactor, contextFactory,
|
||||
connectTimeout, bindAddress, pool)
|
||||
self._proxyConf = proxyConf
|
||||
self._contextFactory = contextFactory
|
||||
|
||||
def _getEndpoint(self, scheme, host, port):
|
||||
return TunnelingTCP4ClientEndpoint(self._reactor, host, port,
|
||||
|
Loading…
x
Reference in New Issue
Block a user