mirror of
https://github.com/esphome/esphome.git
synced 2026-08-31 10:06:03 +00:00
Avoid benchmarking heap allocation by pre-reserving the buffer to typical TCP MSS size and reusing it across iterations, matching real-world usage where the buffer persists across writes.