Apache2
tls_cache.h File Reference

Go to the source code of this file.

Macros

#define TLS_SESSION_CACHE_MUTEX_TYPE   "tls-session-cache"
 

Functions

const char * tls_cache_set_specification (const char *spec, tls_conf_global_t *gconf, apr_pool_t *p, apr_pool_t *ptemp)
 
void tls_cache_pre_config (apr_pool_t *pconf, apr_pool_t *plog, apr_pool_t *ptemp)
 
apr_status_t tls_cache_post_config (apr_pool_t *p, apr_pool_t *ptemp, server_rec *s)
 
void tls_cache_init_child (apr_pool_t *p, server_rec *s)
 
void tls_cache_free (server_rec *s)
 
apr_status_t tls_cache_init_server (rustls_server_config_builder *builder, server_rec *s)
 

Macro Definition Documentation

◆ TLS_SESSION_CACHE_MUTEX_TYPE

#define TLS_SESSION_CACHE_MUTEX_TYPE   "tls-session-cache"

Function Documentation

◆ tls_cache_free()

void tls_cache_free ( server_rec s)

Free all cache related resources.

◆ tls_cache_init_child()

void tls_cache_init_child ( apr_pool_t p,
server_rec s 
)

Started a new child, make sure that global mutex we might use is set up.

◆ tls_cache_init_server()

apr_status_t tls_cache_init_server ( rustls_server_config_builder *  builder,
server_rec s 
)

Initialize the session store for the server's config builder.

◆ tls_cache_post_config()

apr_status_t tls_cache_post_config ( apr_pool_t p,
apr_pool_t ptemp,
server_rec s 
)

Verify the cache settings at the end of the configuration and create the default session cache, if not already done.

◆ tls_cache_pre_config()

void tls_cache_pre_config ( apr_pool_t pconf,
apr_pool_t plog,
apr_pool_t ptemp 
)

Setup before configuration runs, announces our potential global mutex.

◆ tls_cache_set_specification()

const char* tls_cache_set_specification ( const char *  spec,
tls_conf_global_t gconf,
apr_pool_t p,
apr_pool_t ptemp 
)

Set the specification of the session cache to use. The syntax is "default|none|<provider_name>(:<arguments>)?"

Parameters
specthe cache specification
gconfthe modules global configuration
ppool for permanent allocations
ptemppool for temporary allocations
Returns
NULL on success or an error message