QUERY · ISSUE
uasyncio StreamReader fails if UART times out.
bug
I'm unsure if this qualifies as a bug as there is an obvious workround.
The issue arose in this report. If the UART receiver times out the device returns None which causes uasyncio to fail here.
CANDIDATE · ISSUE
RP2 uasyncio TCP server calls handler with no request (1.19.1.468 (4.10.2022))
bugport-rp2
micropython:
Using a uasync start_server to get TCP server I get a random request with
reader.readline returning b''
The problem is that there is an allocated memory after that of most of memory (alloc:134336, free:31680) and does not get reclamed even with gc.collect