Logo
Explore Help
Sign In
espressif/esp-idf
1
0
Fork 1
You've already forked esp-idf
mirror of https://github.com/espressif/esp-idf.git synced 2025-11-18 16:30:09 +01:00
Code Issues Packages Projects Releases Wiki Activity
Files
4d03f63de09da3a2b1b04f07d68f4144633c6daa
esp-idf/examples/protocols/http_server/async_handlers/sdkconfig.ci

3 lines
78 B
Plaintext
Raw Normal View History

feat(httpd): add support for asynchronous request handling This commit adds support for handling multiple requests simultaneously by introducing two new functions: `httpd_req_async_handler_begin()` and `httpd_req_async_handler_complete()`. These functions allow creating an asynchronous copy of a request that can be used on a separate thread and marking the asynchronous request as completed, respectively. Additionally, a new flag `for_async_req` has been added to the `httpd_sess_t` struct to indicate if a socket is being used for an asynchronous request and should not be purged from the LRU cache. An example have been added to demonstrate the usage of these new functions. Closes https://github.com/espressif/esp-idf/issues/10594 Signed-off-by: Harshit Malpani <harshit.malpani@espressif.com>
2023-04-13 17:05:10 -07:00
CONFIG_EXAMPLE_MAX_ASYNC_REQUESTS=2
CONFIG_EXAMPLE_WIFI_SSID_PWD_FROM_STDIN=y
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.1 Page: 364ms Template: 11ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API