|
cwist
Modern C web framework with libttak runtime
|
#include <https.h>
Public Attributes | |
| SSL_CTX * | ctx |
| void * | ticket_key |
| Shared session-ticket key material (forked workers inherit it) | |
| bool | http2_enabled |
| bool | http3_enabled |
| pthread_rwlock_t | ctx_lock |
| SSL_CTX * cwist_https_context::ctx |
Definition at line 17 of file https.h.
Referenced by cwist_app_use_ech(), cwist_https_destroy_context(), and cwist_https_reload_context().
| pthread_rwlock_t cwist_https_context::ctx_lock |
Guards ctx against a concurrent cwist_https_reload_context() swap. Readers hold it only across the pointer load and SSL_new() (which takes the connection's own SSL_CTX reference); the reloader takes the write side to publish the new context.
Definition at line 35 of file https.h.
Referenced by cwist_https_destroy_context(), and cwist_https_reload_context().
| bool cwist_https_context::http2_enabled |
Definition at line 28 of file https.h.
Referenced by cwist_https_reload_context().
| bool cwist_https_context::http3_enabled |
Definition at line 29 of file https.h.
Referenced by cwist_https_reload_context().
| void * cwist_https_context::ticket_key |
Shared session-ticket key material (forked workers inherit it)
Definition at line 18 of file https.h.
Referenced by cwist_https_destroy_context(), and cwist_https_reload_context().