1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-07-27 18:02:17 +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:
david gauchard
2021-03-21 14:56:20 +01:00
committed by GitHub
parent 0894b514cf
commit 3b1e8eab20
3 changed files with 6 additions and 4 deletions

View File

@ -211,7 +211,7 @@ public:
mockverbose("TODO: ClientContext::discard_received()\n");
}
bool wait_until_sent(int max_wait_ms = WIFICLIENT_MAX_FLUSH_WAIT_MS)
bool wait_until_acked(int max_wait_ms = WIFICLIENT_MAX_FLUSH_WAIT_MS)
{
(void)max_wait_ms;
return true;