config save and reboot stack overflow fixed with increase web server
stack memory
This commit is contained in:
parent
66bf716d79
commit
5de496fc51
|
|
@ -494,6 +494,7 @@ static httpd_handle_t start_webserver(void)
|
||||||
config.lru_purge_enable = true;
|
config.lru_purge_enable = true;
|
||||||
config.uri_match_fn = httpd_uri_match_wildcard;
|
config.uri_match_fn = httpd_uri_match_wildcard;
|
||||||
config.max_open_sockets = 3;
|
config.max_open_sockets = 3;
|
||||||
|
config.stack_size = (4096 + 1024);
|
||||||
|
|
||||||
// Start the httpd server
|
// Start the httpd server
|
||||||
ESP_LOGI(TAG, "Starting server on port: '%d'", config.server_port);
|
ESP_LOGI(TAG, "Starting server on port: '%d'", config.server_port);
|
||||||
|
|
|
||||||
|
|
@ -199,11 +199,11 @@ static sys_error_code SysPayloadTypeVarsHandler(data_message_t *MSG)
|
||||||
case 0:
|
case 0:
|
||||||
break;
|
break;
|
||||||
case 1:
|
case 1:
|
||||||
//WriteNVSSysConfig(GetSysConf());
|
WriteNVSSysConfig(GetSysConf());
|
||||||
break;
|
break;
|
||||||
case 2:
|
case 2:
|
||||||
//WriteNVSSysConfig(GetSysConf());
|
WriteNVSSysConfig(GetSysConf());
|
||||||
//DelayedRestart();
|
DelayedRestart();
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
return SYS_ERROR_PARSE_APPLYTYPE;
|
return SYS_ERROR_PARSE_APPLYTYPE;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user