mirror of
https://github.com/esphome/esphome.git
synced 2026-03-01 02:14:19 -07:00
8307eadda2aaf375a0cbdbdc50b6d038877377bb
Move header lowercasing from the per-request start() path to config time: - Python codegen now lowercases collect_headers values before passing to C++ - add_collect_header() stores values as-is (already lowered by Python) - start() with std::vector is now a direct passthrough to perform() - Deprecated std::set overload still lowercases for external callers Rename collect_headers_ to lower_case_collect_headers_ and update all parameter names throughout the chain to make the lowercase invariant explicit in the API contract. This eliminates per-request allocation of a temporary vector and str_lower_case() calls on every HTTP request, reducing stack usage in the perform() call chain where stack space is critical for HTTPS TLS handshakes.
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
524 MiB
Languages
C++
64.1%
Python
35.5%
C
0.3%
