|
Apache HTTPD
|
#include <assert.h>#include <apr_lib.h>#include <apr_strings.h>#include <apr_hash.h>#include <httpd.h>#include <http_connection.h>#include <http_log.h>#include <ap_socache.h>#include <util_mutex.h>#include <rustls.h>#include "tls_conf.h"#include "tls_core.h"#include "tls_cache.h"Go to the source code of this file.
Macros | |
| #define | TLS_CACHE_DEF_PROVIDER "shmcb" |
| #define | TLS_CACHE_DEF_DIR "tls" |
| #define | TLS_CACHE_DEF_FILE "session_cache" |
| #define | TLS_CACHE_DEF_SIZE 512000 |
Variables | |
| static int *const | aplog_module_index = &( tls_module.module_index) |
| #define TLS_CACHE_DEF_DIR "tls" |
Definition at line 37 of file tls_cache.c.
| #define TLS_CACHE_DEF_FILE "session_cache" |
Definition at line 38 of file tls_cache.c.
| #define TLS_CACHE_DEF_PROVIDER "shmcb" |
Definition at line 36 of file tls_cache.c.
| #define TLS_CACHE_DEF_SIZE 512000 |
Definition at line 39 of file tls_cache.c.
|
static |
Definition at line 65 of file tls_cache.c.
Definition at line 41 of file tls_cache.c.
| void tls_cache_free | ( | server_rec * | s | ) |
Free all cache related resources.
Definition at line 189 of file tls_cache.c.
|
static |
Definition at line 219 of file tls_cache.c.
| 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.
| 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.
|
static |
Definition at line 197 of file tls_cache.c.
| 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.
| 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.
|
static |
Definition at line 264 of file tls_cache.c.
| 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>)?"
| spec | the cache specification |
| gconf | the modules global configuration |
| p | pool for permanent allocations |
| ptemp | pool for temporary allocations |
Definition at line 130 of file tls_cache.c.
|
static |
Definition at line 208 of file tls_cache.c.
Definition at line 34 of file tls_cache.c.