BlueAndi / Pixelix

Full RGB LED matrix, based on an ESP32 and WS2812B LEDs.
MIT License
293 stars 59 forks source link

[Bug] High SSL heap usage can cause reset #153

Closed BlueAndi closed 3 weeks ago

BlueAndi commented 9 months ago

A outgoing https:// connection needs about 47 kByte of heap memory. If several plugins requests informations at the same time, it will cause a reset by AsyncTcpSock. AsyncTcpSock uses std::dequeue which allocates memory and causes an system abort.

Idea: Serialize all AsyncHttpClient requests.

BlueAndi commented 9 months ago