From d65532a6b12f89b15423de622c7b867c9270effb Mon Sep 17 00:00:00 2001 From: Lorow Date: Sun, 28 Aug 2022 20:58:38 +0200 Subject: [PATCH] Bump the httpd buffer to 20480 to fix freezing / buffer overflow issue --- ESP/lib/src/network/stream/streamServer.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/ESP/lib/src/network/stream/streamServer.cpp b/ESP/lib/src/network/stream/streamServer.cpp index ee04068..b038126 100644 --- a/ESP/lib/src/network/stream/streamServer.cpp +++ b/ESP/lib/src/network/stream/streamServer.cpp @@ -85,6 +85,7 @@ int StreamServer::startStreamServer() { WRITE_PERI_REG(RTC_CNTL_BROWN_OUT_REG, 0); //! Turn-off the 'brownout detector' httpd_config_t config = HTTPD_DEFAULT_CONFIG(); + config.stack_size = 20480; config.max_uri_handlers = 1; config.server_port = this->STREAM_SERVER_PORT; config.ctrl_port = this->STREAM_SERVER_PORT;