Skip to content
Myr

Merge pull request #1827 from pepijndevos/master

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Use adapter pool size for proxies

authored by Kenneth Reitz · committed by Kenneth Reitz · parents 6323042, 9e84346 · Browse files · 1 file+4 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+4 added−1 removed

  • other:+4 added−1 removed

1 file+4 added−1 removed

modified:requests/adapters.py+4 added-1 removed
202 unmodified lines
203204 if not proxy in self.proxy_manager:205 self.proxy_manager[proxy] = proxy_from_url(206 proxy,207 proxy_headers=proxy_headers)207 proxy_headers=proxy_headers,208 num_pools=self._pool_connections,209 maxsize=self._pool_maxsize,210 block=self._pool_block)211212 conn = self.proxy_manager[proxy].connection_from_url(url)213 else:214 # Only scheme should be lower case
181 unmodified lines