From d48b085735734cad87e8cb749dc6a5b77db6335b Mon Sep 17 00:00:00 2001 From: yuanjianmin Date: Mon, 5 Dec 2022 17:19:58 +0800 Subject: [PATCH] esp_https_server: Fix initializers missing in esp_https_server --- components/esp_https_server/include/esp_https_server.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/components/esp_https_server/include/esp_https_server.h b/components/esp_https_server/include/esp_https_server.h index 9fbfe4c25062..28b6f45d0d5b 100644 --- a/components/esp_https_server/include/esp_https_server.h +++ b/components/esp_https_server/include/esp_https_server.h @@ -129,6 +129,12 @@ typedef struct httpd_ssl_config httpd_ssl_config_t; .global_user_ctx_free_fn = NULL, \ .global_transport_ctx = NULL, \ .global_transport_ctx_free_fn = NULL, \ + .enable_so_linger = false, \ + .linger_timeout = 0, \ + .keep_alive_enable = false, \ + .keep_alive_idle = 0, \ + .keep_alive_interval = 0, \ + .keep_alive_count = 0, \ .open_fn = NULL, \ .close_fn = NULL, \ .uri_match_fn = NULL \