From 5862a64d1c8de5cfccb401e7e5119a0a03fc0966 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 Closes https://github.com/espressif/esp-idf/issues/10306 --- 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 c93d43ccf6..30872d9741 100644 --- a/components/esp_https_server/include/esp_https_server.h +++ b/components/esp_https_server/include/esp_https_server.h @@ -134,6 +134,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 \