mirror of
https://github.com/alexbers/mtprotoproxy.git
synced 2026-03-14 07:13:09 +00:00
handle broken pipe error
This commit is contained in:
@@ -1674,7 +1674,7 @@ async def handle_client_wrapper(reader, writer):
|
|||||||
await handle_client(reader, writer)
|
await handle_client(reader, writer)
|
||||||
except (asyncio.IncompleteReadError, asyncio.CancelledError):
|
except (asyncio.IncompleteReadError, asyncio.CancelledError):
|
||||||
pass
|
pass
|
||||||
except (ConnectionResetError, TimeoutError):
|
except (ConnectionResetError, TimeoutError, BrokenPipeError):
|
||||||
pass
|
pass
|
||||||
except Exception:
|
except Exception:
|
||||||
traceback.print_exc()
|
traceback.print_exc()
|
||||||
|
|||||||
Reference in New Issue
Block a user