Sorry for all the whitespace changes, my editor is set up to auto-trim trailing whitespace. The main changes are in AsyncEventSource::send and webSocketSendFrame (when send() fails, the data still got added to the pcb, so don't return 0)
Also increases SEE_MAX_QUEUED_MESSAGES to 32 on ESP8266
See also https://github.com/OttoWinter/ESPAsyncTCP/pull/2\#issuecomment-665466505
Sorry for all the whitespace changes, my editor is set up to auto-trim trailing whitespace. The main changes are in
AsyncEventSource::send
andwebSocketSendFrame
(when send() fails, the data still got added to the pcb, so don't return 0)Also increases SEE_MAX_QUEUED_MESSAGES to 32 on ESP8266