Bump the httpd buffer to 20480 to fix freezing / buffer overflow issue

This commit is contained in:
Lorow 2022-08-28 20:58:38 +02:00
parent c95666307c
commit d65532a6b1

View File

@ -85,6 +85,7 @@ int StreamServer::startStreamServer()
{ {
WRITE_PERI_REG(RTC_CNTL_BROWN_OUT_REG, 0); //! Turn-off the 'brownout detector' WRITE_PERI_REG(RTC_CNTL_BROWN_OUT_REG, 0); //! Turn-off the 'brownout detector'
httpd_config_t config = HTTPD_DEFAULT_CONFIG(); httpd_config_t config = HTTPD_DEFAULT_CONFIG();
config.stack_size = 20480;
config.max_uri_handlers = 1; config.max_uri_handlers = 1;
config.server_port = this->STREAM_SERVER_PORT; config.server_port = this->STREAM_SERVER_PORT;
config.ctrl_port = this->STREAM_SERVER_PORT; config.ctrl_port = this->STREAM_SERVER_PORT;