Files
esphome/tests/unit_tests
J. Nick Koston 54b34edf2d [ota] Fall back to a UDP data phase when the link is lossy
TCP gives up on links that lose many packets: retransmit timers back off and
the connection drops, so devices on poor Wi-Fi cannot be updated without being
moved. After the TCP handshake, a client that saw loss moves the upload to a
UDP byte stream that the device acks from lwIP's receive callback as datagrams
arrive, keeping at most four of them like TCP's window. Clean links stay on
TCP; blocked UDP falls back to TCP.
2026-10-10 12:15:36 -10:00
..
2022-10-05 20:09:27 +13:00