mirror of
https://github.com/esphome/esphome.git
synced 2026-02-19 16:05:35 -07:00
c4d9ed7b701ee2882ba49705bb5f80d4fd1b1fed
The update component had the same infinite loop issue as the OTA component when network read errors occurred. If container->read() returned an error (negative value), it would be added to read_index and the loop would continue indefinitely since get_bytes_read() would never reach content_length. This fix breaks out of the read loop on any read error (read_bytes <= 0), preventing watchdog resets and infinite loops during manifest downloads. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Description
ESPHome is a system to control your ESP8266/ESP32 by simple yet powerful configuration files and control them remotely through Home Automation systems.
Readme
Multiple Licenses
375 MiB
Languages
C++
64.2%
Python
35.5%
C
0.2%
