Commit Graph
2 Commits
Author SHA1 Message Date
Adam Matthews d143a4b93d [HttpClientLight] Widen the TCP timeout to 32 bits 2026-10-16 17:28:38 +01:00
Adam Matthews 08d2ab0500 [HttpClientLight] Time out reading a body when the server goes silent
writeToStreamDataBlock() waited for the rest of a body for as long as
connected() held. A server that stops sending part way through a body
without closing the connection leaves connected() true, so getString()
never returned and the unit stopped responding. Give up after
_tcpTimeout without data and return HTTPC_ERROR_READ_TIMEOUT, as
handleHeaderResponse() already does. Same fix as arendst/Tasmota#25139.
2026-10-15 00:30:28 +01:00