mirror of
https://github.com/espressif/esp-idf.git
synced 2026-04-28 11:28:43 +00:00
feat(esp_https_server): adds support for user callback on handshake failure
Closes https://github.com/espressif/esp-idf/issues/18053
This commit is contained in:
@@ -39,11 +39,12 @@ typedef enum {
|
||||
|
||||
/**
|
||||
* @brief Indicates the state at which the user callback is executed,
|
||||
* i.e at session creation or session close
|
||||
* i.e at session creation, session close, or session error
|
||||
*/
|
||||
typedef enum {
|
||||
HTTPD_SSL_USER_CB_SESS_CREATE,
|
||||
HTTPD_SSL_USER_CB_SESS_CLOSE
|
||||
HTTPD_SSL_USER_CB_SESS_CLOSE,
|
||||
HTTPD_SSL_USER_CB_SESS_ERROR
|
||||
} httpd_ssl_user_cb_state_t;
|
||||
|
||||
typedef esp_tls_handshake_callback esp_https_server_cert_select_cb;
|
||||
|
||||
Reference in New Issue
Block a user