http_server multiple concurrent requests
Posted: Mon Jan 24, 2022 5:41 pm
Does esp_http_server handle concurrency?
I use a default config params, such as
and I have this in my code:
But that doesn't seem to be sufficient to correctly handle concurrent requests. Tested by sending a multipart msg in chunks with considerable delays: only one is being served at any given moment, the others seem to be waiting in some kind of queue.
I use a default config params, such as
Code: Select all
sdkconfig:CONFIG_LWIP_MAX_SOCKETS=10
Code: Select all
httpd_config_t config = HTTPD_DEFAULT_CONFIG();
config.max_open_sockets = 7;