mirror of
https://github.com/micropython/micropython.git
synced 2026-01-04 11:10:14 +01:00
Add check to prevent calling recv on a socket in the listening state. This prevents a crash/hard fault when user code mistakenly tries to recv on the listening socket instead of on the accepted connection. Add corresponding test case to demonstrate the bug. Signed-off-by: Andrew Leech <andrew.leech@planetinnovation.com.au>
66 KiB
66 KiB