mirror of
https://github.com/EyeTrackVR/OpenIris.git
synced 2025-11-04 15:39:42 +08:00
Bump the httpd buffer to 20480 to fix freezing / buffer overflow issue
This commit is contained in:
parent
c95666307c
commit
d65532a6b1
@ -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;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user