mirror of
https://github.com/esp8266/Arduino.git
synced 2025-07-26 07:02:15 +03:00
rename ClientContext::wait_until_sent() to wait_until_acked() (#7896)
* rename ClientContext::wait_until_sent() to wait_until_acked() While looking at #6348 and #6369, and after checking into lwIP sources, it appears that the tests in ClientContext::wait_until_sent() effectively wait for all acks on current output buffer. Comments are added. * host tests counterpart
This commit is contained in:
@ -308,7 +308,7 @@ bool WiFiClient::flush(unsigned int maxWaitMs)
|
||||
|
||||
if (maxWaitMs == 0)
|
||||
maxWaitMs = WIFICLIENT_MAX_FLUSH_WAIT_MS;
|
||||
return _client->wait_until_sent(maxWaitMs);
|
||||
return _client->wait_until_acked(maxWaitMs);
|
||||
}
|
||||
|
||||
bool WiFiClient::stop(unsigned int maxWaitMs)
|
||||
|
Reference in New Issue
Block a user