proxy.py/tests
Abhinav Singh d3cee32909
Pool (#694)
* Refactor pool

* mypy fixes

* Fix import (relative)

* Add WebScraper example skeleton & ConnectionPool skeleton

* Add ConnectionPool class

* Integrate ConnectionPool with proxy server (experimental)

* Lint fixes

* Remove unused imports. TODO: Put pool behind a flag. Default to false for now

* Make ConnectionPool multiprocess safe.  Later we want to make it safe but without using locks

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Remove unused imports

* Return created flag from acquire

* Guard connection pool behind --enable-conn-pool flag

* Flag belongs within connection pool class

* spelling

* self.upstream = None only for pool config

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2021-11-07 21:06:41 +05:30
..
benchmark Initialize Menubar (#188) 2019-11-22 15:18:01 -08:00
common CustomDnsResolver plugin, CloudflareDnsResolver plugin, Allow plugins to configure network interface (#671) 2021-11-05 07:36:02 +05:30
core Pool (#694) 2021-11-07 21:06:41 +05:30
dashboard Test Dashboard backend (#206) 2019-11-30 22:54:20 -08:00
http DEFAULT_CA_FILE is now certifi/cacert.pem (#691) 2021-11-07 02:50:11 +05:30
integration Correct spelling mistakes caught by `codespell` (#656) 2021-11-03 17:33:05 +05:30
plugin Adopt BaseTcpServerHandler within HttpProtocolHandler (#681) 2021-11-06 14:01:13 +05:30
testing Fix python 3.10 @ ubuntu pytest ignore (#685) 2021-11-06 17:25:32 +05:30
__init__.py Initialize Menubar (#188) 2019-11-22 15:18:01 -08:00
test_circular_imports.py Fix python 3.10 @ ubuntu pytest ignore (#685) 2021-11-06 17:25:32 +05:30
test_main.py Add tests for missing core modules (#674) 2021-11-05 13:50:50 +05:30
test_set_open_file_limit.py Enable the `add-trailing-comma` pre-commit fixer (#661) 2021-11-04 16:58:36 +05:30