Add Bounded Ordinary HTTPS Idle Cleanup

This commit is contained in:
2026-09-08 18:33:33 +02:00
parent f6263042ff
commit 82f21d6116
18 changed files with 884 additions and 13 deletions
+12
View File
@@ -0,0 +1,12 @@
/* SPDX-License-Identifier: GPL-3.0-only */
#pragma once
#include "esp_https_server.h"
/* Serialized web_server lifecycle. Prepare before SSL start; stop must fence
* submissions before destroying HTTPD, and retire only after successful stop. */
esp_err_t web_httpd_idle_prepare(void);
esp_err_t web_httpd_idle_attach(httpd_handle_t server);
esp_err_t web_httpd_idle_detach(httpd_handle_t server);
void web_httpd_idle_stopped(httpd_handle_t server);
/* Synchronous HTTPD-owner TLS callback, composed with diagnostics by server. */
void web_httpd_idle_tls(esp_https_server_user_cb_arg_t *arg);