Home
last modified time | relevance | path

Searched refs:cache_size (Results 1 – 8 of 8) sorted by path

/unit/docs/
H A Dunit-openapi.yaml4654 cache_size: 10240
4747 cache_size: 10240
4776 cache_size: 10240
4845 cache_size: 10240
4874 cache_size: 10240
6082 cache_size:
/unit/src/
H A Dnxt_conf_validation.c537 int64_t cache_size; in nxt_conf_vldt_tls_cache_size() local
539 cache_size = nxt_conf_get_number(value); in nxt_conf_vldt_tls_cache_size()
541 if (cache_size < 0) { in nxt_conf_vldt_tls_cache_size()
H A Dnxt_job.c18 size_t cache_size; in nxt_job_create() local
28 cache_size = 0; in nxt_job_create()
32 cache_size = size; in nxt_job_create()
39 job->cache_size = (uint16_t) cache_size; in nxt_job_create()
70 if (job->cache_size == 0) { in nxt_job_destroy()
H A Dnxt_job.h40 uint16_t cache_size; member
H A Dnxt_openssl.c78 static void nxt_ssl_session_cache(SSL_CTX *ctx, size_t cache_size,
381 nxt_ssl_session_cache(ctx, tls_init->cache_size, tls_init->timeout); in nxt_openssl_server_init()
833 nxt_ssl_session_cache(SSL_CTX *ctx, size_t cache_size, time_t timeout) argument
835 if (cache_size == 0) {
842 SSL_CTX_sess_set_cache_size(ctx, cache_size);
H A Dnxt_router.c2053 tls_init->cache_size = 0; in nxt_router_conf_create()
2058 tls_init->cache_size = nxt_conf_get_number(value); in nxt_router_conf_create()
H A Dnxt_tls.h86 size_t cache_size; member
/unit/test/
H A Dtest_tls_session.py40 def add_session(cache_size=None, timeout=None): argument
43 if cache_size is not None:
44 session['cache_size'] = cache_size
87 assert 'success' in add_session(cache_size=2)
108 assert 'success' in add_session(cache_size=8)
122 assert 'success' in add_session(cache_size=5, timeout=1)
137 assert 'error' in add_session(cache_size=-1)
138 assert 'error' in add_session(cache_size={})