Skip to content

Adopt BaseTcpServerHandler within HttpProtocolHandler #681

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 22 commits into from
Nov 6, 2021
Merged
Changes from 1 commit
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
c1c8a51
Rename .server to .upstream
abhinavsingh Nov 5, 2021
d1c306c
Lint fixes
abhinavsingh Nov 5, 2021
72d9939
Mark internal methods with _ prefix
abhinavsingh Nov 5, 2021
8a9eb3f
Fix broken test
abhinavsingh Nov 5, 2021
a94d3e1
lint changes
abhinavsingh Nov 5, 2021
5e4668c
Wah, double client :D
abhinavsingh Nov 5, 2021
fc7cac4
Avoid selector initialization for threadless mode
abhinavsingh Nov 5, 2021
8fa6fc6
Merge branch 'develop' into refactor
abhinavsingh Nov 5, 2021
5651dbb
remove unused imports
abhinavsingh Nov 5, 2021
07cd350
Now HttpProtocolHandler implements BaseTcpServerHandler
abhinavsingh Nov 5, 2021
db4868d
Consistent return and guard againt upstream.closed
abhinavsingh Nov 5, 2021
50bb133
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Nov 5, 2021
18494c7
AcceptorPool as context manager
abhinavsingh Nov 5, 2021
196eebb
Merge branch 'refactor' of github.com:abhinavsingh/proxy.py into refa…
abhinavsingh Nov 5, 2021
c1a6cac
Group multiprocessing imports together
abhinavsingh Nov 5, 2021
abc623d
Use com.jaxl bundle identifier as proxy.py will eventually move under…
abhinavsingh Nov 5, 2021
91189ed
Merge branch 'develop' into refactor
abhinavsingh Nov 5, 2021
6ab8a50
revisit devtools integration :)
abhinavsingh Nov 5, 2021
92d6d34
Emit all necessary events for devtools integration
abhinavsingh Nov 5, 2021
24b30ab
Lint fixes
abhinavsingh Nov 5, 2021
fc7a7e2
Merge branch 'refactor' of github.com:abhinavsingh/proxy.py into refa…
abhinavsingh Nov 5, 2021
a9c18e1
Merge branch 'develop' into refactor
abhinavsingh Nov 5, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Group multiprocessing imports together
  • Loading branch information
abhinavsingh committed Nov 5, 2021
commit c1a6cac0ac45760333f54660592f4f9f26d5ea7a
3 changes: 2 additions & 1 deletion proxy/core/acceptor/pool.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,10 @@
import socket

from multiprocessing import connection
from types import TracebackType
from multiprocessing.reduction import send_handle

from typing import List, Optional, Type
from types import TracebackType

from .acceptor import Acceptor
from .work import Work
Expand Down