mirror of
https://github.com/kennethreitz/requests3.git
synced 2026-06-05 23:10:16 +00:00
2eb682671d
This allows for blocking when using threading to prevent the pool from creating more connections that the max-size allows.
Specifically was seeing the following errors without the block=True:
WARNING:requests.packages.urllib3.connectionpool:HttpConnectionPool is full, discarding connection: www.example.com