micropython/extmod/asyncio
Carlosgg e793718491 extmod/asyncio: Fix `Stream.wait_closed`.
Leaving pending bytes at server side will cause the socket to be closed
promptly when `Stream.wait_closed` is called which raises `ECONNRESET`
at client side.

The fix is to make sure there is no pending data and then close the
socket.

Signed-off-by: Carlos Gil <carlosgilglez@gmail.com>
2024-01-28 04:09:05 +00:00
..
__init__.py
core.py extmod/asyncio: Support gather of tasks that finish early. 2024-01-22 12:03:21 +11:00
event.py
funcs.py extmod/asyncio: Support gather of tasks that finish early. 2024-01-22 12:03:21 +11:00
lock.py
manifest.py
stream.py extmod/asyncio: Fix `Stream.wait_closed`. 2024-01-28 04:09:05 +00:00
task.py
uasyncio.py