mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-17 15:15:02 +00:00
esp_http_server: update httpd_queue_work() API to use semaphore
Closes: https://github.com/espressif/esp-idf/issues/8440
This commit is contained in:
@@ -107,6 +107,9 @@ struct httpd_data {
|
||||
httpd_config_t config; /*!< HTTPD server configuration */
|
||||
int listen_fd; /*!< Server listener FD */
|
||||
int ctrl_fd; /*!< Ctrl message receiver FD */
|
||||
#if CONFIG_HTTPD_QUEUE_WORK_BLOCKING
|
||||
SemaphoreHandle_t ctrl_sock_semaphore; /*!< Ctrl socket semaphore */
|
||||
#endif
|
||||
int msg_fd; /*!< Ctrl message sender FD */
|
||||
struct thread_data hd_td; /*!< Information for the HTTPD thread */
|
||||
struct sock_db *hd_sd; /*!< The socket database */
|
||||
|
Reference in New Issue
Block a user