[sans-io] enable sans-io by default

This commit is contained in:
Maximilian Hils 2020-11-17 15:18:47 +01:00
parent 238ea20884
commit 895466bc59
2 changed files with 2 additions and 2 deletions

View File

@ -99,7 +99,7 @@ class Proxyserver:
self.server = await asyncio.start_server(
self.handle_connection,
self.options.listen_host,
self.options.listen_port + 1,
self.options.listen_port,
)
async def shutdown_server(self):

View File

@ -1,4 +1,4 @@
new_proxy_core = False
new_proxy_core = True
"""If true, use mitmproxy's new sans-io proxy core."""
if new_proxy_core: # pragma: no cover