Przeglądaj źródła

Increase HTTP URI handler limit for flow controls

SybexXx 23 godzin temu
rodzic
commit
53b8010bd6
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      code/main/server_main.cpp

+ 1 - 1
code/main/server_main.cpp

@@ -463,7 +463,7 @@ httpd_handle_t start_webserver(void)
     config.server_port = 80;
     config.server_port = 80;
     config.ctrl_port = 32768;
     config.ctrl_port = 32768;
     config.max_open_sockets = 5; // Conservative HTTP client limit; lwIP socket pool configured separately
     config.max_open_sockets = 5; // Conservative HTTP client limit; lwIP socket pool configured separately
-    config.max_uri_handlers = 41; // Make sure this fits all URI handlers. Memory usage in bytes: 6*max_uri_handlers
+    config.max_uri_handlers = 43; // Make sure this fits all URI handlers. Memory usage in bytes: 6*max_uri_handlers
     config.max_resp_headers = 8;                        
     config.max_resp_headers = 8;                        
     config.backlog_conn = 5;                        
     config.backlog_conn = 5;                        
     config.lru_purge_enable = true; // this cuts old connections if new ones are needed.               
     config.lru_purge_enable = true; // this cuts old connections if new ones are needed.