Apache HTTPD
Macros | Functions
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"

Definition at line 20 of file tls_cache.h.

Function Documentation

◆ tls_cache_free()

void tls_cache_free ( server_rec *  s)

Free all cache related resources.

Definition at line 189 of file tls_cache.c.

◆ 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.

Definition at line 172 of file tls_cache.c.

◆ 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.

Definition at line 299 of file tls_cache.c.

◆ 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.

Definition at line 137 of file tls_cache.c.

◆ 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.

Definition at line 55 of file tls_cache.c.

◆ 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

Definition at line 130 of file tls_cache.c.