Bug in WiFiSocket.cpp causing infinite loop #278
Labels
status: waiting for information
More information must be provided before work can proceed
type: imperfection
Perceived defect in any part of project
WiFiSocket::write() contains the following loop:
Note that if the call to
send()
returns witherr = SOCK_ERR_BUFFER_FULL
, the while loop never exits unlesshif_receive_blocked
becomes true. I frequently (several times per day) experience this situation. There is no way to exit this loop other than by watchdog timer forcing a reset.As a possibly relevant side-note, the call to
send()
(in socket.c) can return only theSOCK_ERR_BUFFER_FULL
error. No matter what error actually occurred,send()
will always misleadingly return the same error.The text was updated successfully, but these errors were encountered: