mirror of
https://github.com/DCC-EX/CommandStation-EX.git
synced 2024-12-24 13:21:23 +01:00
one-off error in CIPSEND drop
This commit is contained in:
parent
0912ad484a
commit
52cc1ecd7b
@ -248,7 +248,7 @@ void WifiInboundHandler::purgeCurrentCIPSEND() {
|
|||||||
// A CIPSEND was sent but errored... or the client closed just toss it away
|
// A CIPSEND was sent but errored... or the client closed just toss it away
|
||||||
CommandDistributor::forget(clientPendingCIPSEND);
|
CommandDistributor::forget(clientPendingCIPSEND);
|
||||||
DIAG(F("Wifi: DROPPING CIPSEND=%d,%d"),clientPendingCIPSEND,currentReplySize);
|
DIAG(F("Wifi: DROPPING CIPSEND=%d,%d"),clientPendingCIPSEND,currentReplySize);
|
||||||
for (int i=0;i<=currentReplySize;i++) outboundRing->read();
|
for (int i=0;i<currentReplySize;i++) outboundRing->read();
|
||||||
pendingCipsend=false;
|
pendingCipsend=false;
|
||||||
clientPendingCIPSEND=-1;
|
clientPendingCIPSEND=-1;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user