From 12252773b9b00370a796a360f55fb527bef2ea71 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 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/components/esp_https_server/include/esp_https_server.h b/components/esp_https_server/include/esp_https_server.h index 75720bd1ce..f515920721 100644 --- a/components/esp_https_server/include/esp_https_server.h +++ b/components/esp_https_server/include/esp_https_server.h @@ -119,6 +119,8 @@ 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, \ .open_fn = NULL, \ .close_fn = NULL, \ .uri_match_fn = NULL \