mirror of
https://github.com/esphome/esphome.git
synced 2026-02-28 09:54:19 -07:00
375fc1db84b91accff5157b42a758eadbcf5e6ed
Two fixes for ESP8266 with noise encryption: 1. Cache socket ready() before the handshake loop. On ESP8266 LWIP raw TCP, ready() returns the live state (false once rx buffer is consumed), unlike ESP32 where it is cached until the next main loop. Re-checking each iteration blocked handshake writes that must follow reads, deadlocking the handshake. 2. Process client removal immediately after loop() instead of deferring to the next server loop iteration. This closes the socket promptly to free LWIP PCB resources and prevent retransmit crashes on ESP8266.
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
517 MiB
Languages
C++
64.1%
Python
35.5%
C
0.3%
