webradio: example: http: gently listen to the end of the sentence before saying goodbye (#245)
This commit is contained in:
1 parent
9e90cd780e
commit
aba310d3a0
1 file changed
+5
@@ -421,6 +421,11 @@ void loop()
|
||||
} else {
|
||||
WebError(&client, 404, NULL, false);
|
||||
}
|
||||
// web clients hate when door is violently shut
|
||||
while (client.available()) {
|
||||
PumpDecoder();
|
||||
client.read();
|
||||
}
|
||||
}
|
||||
PumpDecoder();
|
||||
if (client) {
|
||||
|
||||
Reference in new issue
Block a user