mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-08 04:02:27 +00:00
Implement server session ticket support with mbedtls
Closes https://github.com/espressif/esp-idf/pull/7048 Signed-off-by: Aditya Patwardhan <aditya.patwardhan@espressif.com>
This commit is contained in:

committed by
Aditya Patwardhan

parent
8f283421da
commit
7e886ca9ed
@@ -63,6 +63,9 @@ struct httpd_ssl_config {
|
||||
|
||||
/** Port used when transport mode is insecure (default 80) */
|
||||
uint16_t port_insecure;
|
||||
|
||||
/** Enable tls session tickets */
|
||||
bool session_tickets;
|
||||
};
|
||||
|
||||
typedef struct httpd_ssl_config httpd_ssl_config_t;
|
||||
@@ -109,6 +112,7 @@ typedef struct httpd_ssl_config httpd_ssl_config_t;
|
||||
.transport_mode = HTTPD_SSL_TRANSPORT_SECURE, \
|
||||
.port_secure = 443, \
|
||||
.port_insecure = 80, \
|
||||
.session_tickets = false, \
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user