Merge branch 'refactoring-async-stream' of https://github.com/s-allius/tsun-gen3-proxy into titan-scan

This commit is contained in:
Stefan Allius
2024-09-29 20:52:08 +02:00

View File

@@ -74,7 +74,7 @@ async def handle_client(reader: StreamReader, writer: StreamWriter, inv_class):
'''Handles a new incoming connection and starts an async loop'''
addr = writer.get_extra_info('peername')
await inv_class(reader, writer, addr)._ifc.server_loop()
await inv_class(reader, writer, addr).local.ifc.server_loop()
async def handle_shutdown(web_task):