[issue45309] asyncio task can not be used to open_connection and read data.

2021-09-30 Thread 穆兰
Change by 穆兰 : -- stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: h

[issue45309] asyncio task can not be used to open_connection and read data.

2021-09-30 Thread 穆兰
Change by 穆兰 : -- resolution: -> not a bug ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[issue45309] asyncio task can not be used to open_connection and read data.

2021-09-28 Thread 穆兰
穆兰 added the comment: Hope some one could fix it. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://

[issue45309] asyncio task can not be used to open_connection and read data.

2021-09-28 Thread 穆兰
New submission from 穆兰 : The server code: import asyncio import struct counter = 0 async def on_connection(r: asyncio.StreamReader, w: asyncio.StreamWriter): msg = struct.pack("HB", 3, 0) w.write(msg) await w.drain() global counter counter += 1 print(counter, "client") as