mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-21 22:58:24 +00:00
whitelist next_layer for @concurrent
This commit is contained in:
parent
d002371d30
commit
8dfa15c2d4
@ -179,7 +179,8 @@ def concurrent(fn):
|
||||
"error",
|
||||
"clientconnect",
|
||||
"serverconnect",
|
||||
"clientdisconnect"):
|
||||
"clientdisconnect",
|
||||
"next_layer"):
|
||||
def _concurrent(ctx, obj):
|
||||
_handle_concurrent_reply(fn, obj, ctx, obj)
|
||||
|
||||
|
12
setup.py
12
setup.py
@ -83,7 +83,8 @@ setup(
|
||||
"Topic :: Internet",
|
||||
"Topic :: Internet :: WWW/HTTP",
|
||||
"Topic :: Internet :: Proxy Servers",
|
||||
"Topic :: Software Development :: Testing"],
|
||||
"Topic :: Software Development :: Testing"
|
||||
],
|
||||
packages=find_packages(),
|
||||
include_package_data=True,
|
||||
entry_points={
|
||||
@ -94,8 +95,13 @@ setup(
|
||||
'contentviews': [
|
||||
"pyamf>=0.6.1",
|
||||
"protobuf>=2.5.0",
|
||||
"cssutils>=1.0"],
|
||||
"cssutils>=1.0"
|
||||
],
|
||||
'examples': [
|
||||
"pytz",
|
||||
"harparser",
|
||||
"beautifulsoup4"]})
|
||||
"beautifulsoup4",
|
||||
"enum34"
|
||||
]
|
||||
}
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user