Repository navigation
Commit d44a97f
espressif: treat a select() that returns 0 as a spurious wakeup
socket_select_task asserted that select() with no timeout returns at least
one ready socket. lwIP checks the sockets again after it wakes, so it
returns 0 when the main task has already read the datagram that woke it.
The shared mDNS browser does exactly that with its system socket, and
DEBUG=1 builds stopped at the assert (Socket.c:111). Release builds compile
the assert out and loop, so wait again explicitly instead.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>1 parent 742fcab commit d44a97f
1 file changed
Lines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
111 | | - | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
112 | 118 | | |
113 | 119 | | |
114 | 120 | | |
| |||
0 commit comments