mirror of
https://github.com/apache/nuttx.git
synced 2026-06-08 10:32:47 +08:00
d423992988
Receiving an ACK indicating TCP Window Update will not set ACKDATA flag (because tx_unacked is 0) in our TCP stack. Then this ACK won't let us send anything after receiving it, even if it updates snd_wnd. So we need to check whether we can send data immediately when our snd_wnd is updated (especially from 0), otherwise we will only send next data after timer expiry. Signed-off-by: Zhe Weng <wengzhe@xiaomi.com>