Skip to content

Commit

Permalink
Adopt BaseTcpServerHandler within HttpProtocolHandler (#681)
Browse files Browse the repository at this point in the history
* Rename .server to .upstream

* Lint fixes

* Mark internal methods with _ prefix

* Fix broken test

* lint changes

* Wah, double client :D

* Avoid selector initialization for threadless mode

* remove unused imports

* Now HttpProtocolHandler implements BaseTcpServerHandler

* Consistent return and guard againt upstream.closed

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

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

* AcceptorPool as context manager

* Group multiprocessing imports together

* Use com.jaxl bundle identifier as proxy.py will eventually move under jaxl org

* revisit devtools integration :)

* Emit all necessary events for devtools integration

* Lint fixes

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
abhinavsingh and pre-commit-ci[bot] authored Nov 6, 2021
1 parent e9d012b commit 628de71
Show file tree
Hide file tree
Showing 30 changed files with 5,928 additions and 489 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ lib-release: lib-package
twine upload dist/*

lib-coverage:
pytest --cov=proxy --cov-report=html tests/
pytest --cov=proxy --cov=tests --cov-report=html tests/
open htmlcov/index.html

lib-profile:
Expand Down
Loading

0 comments on commit 628de71

Please sign in to comment.