We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cc0bfa0 commit 4fdff07Copy full SHA for 4fdff07
libraries/ESP8266WiFi/examples/WiFiClient/WiFiClient.ino
@@ -85,7 +85,7 @@ void loop() {
85
}
86
87
// Read all the lines of the reply from server and print them to Serial
88
- while (client.available()) {
+ while (client.available() || client.connected()) {
89
String line = client.readStringUntil('\r');
90
Serial.print(line);
91
0 commit comments