diff --git a/WifiESP32.cpp b/WifiESP32.cpp index 5355a0d..3b9d6bd 100644 --- a/WifiESP32.cpp +++ b/WifiESP32.cpp @@ -398,6 +398,8 @@ void WifiESP::loop() { for(int i=0;iread(); if (c >= 0) // Panic check, should never be false + // websocket implementations at browser end can barf at \b + if (websocket && (cout=='\n')) cout='\r'; buffer[i+wsHeaderLen] = (char)c; else { DIAG(F("Ringread fail at %d"),i);