diff options
| author | Igor Sysoev <igor@sysoev.ru> | 2008-05-26 07:14:13 +0000 |
|---|---|---|
| committer | Igor Sysoev <igor@sysoev.ru> | 2008-05-26 07:14:13 +0000 |
| commit | d6548faf64a1ff1f06f642558967bf2b337d178d (patch) | |
| tree | 3b13dbe1587a016a8b2eb61ba5e4b6b674917f6d /src/http/modules/ngx_http_ssl_module.c | |
| parent | 4c8eb4263f3db2e09d0f506af15082c0d3814b85 (diff) | |
| download | nginx-d6548faf64a1ff1f06f642558967bf2b337d178d.tar.gz nginx-d6548faf64a1ff1f06f642558967bf2b337d178d.tar.bz2 | |
ssl_session_cache none
Diffstat (limited to 'src/http/modules/ngx_http_ssl_module.c')
| -rw-r--r-- | src/http/modules/ngx_http_ssl_module.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/http/modules/ngx_http_ssl_module.c b/src/http/modules/ngx_http_ssl_module.c index 3359900fd..ea9ff8f7e 100644 --- a/src/http/modules/ngx_http_ssl_module.c +++ b/src/http/modules/ngx_http_ssl_module.c @@ -415,7 +415,7 @@ ngx_http_ssl_merge_srv_conf(ngx_conf_t *cf, void *parent, void *child) } ngx_conf_merge_value(conf->builtin_session_cache, - prev->builtin_session_cache, NGX_SSL_NO_SCACHE); + prev->builtin_session_cache, NGX_SSL_NONE_SCACHE); if (conf->shm_zone == NULL) { conf->shm_zone = prev->shm_zone; @@ -452,6 +452,11 @@ ngx_http_ssl_session_cache(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) continue; } + if (ngx_strcmp(value[i].data, "none") == 0) { + sscf->builtin_session_cache = NGX_SSL_NONE_SCACHE; + continue; + } + if (ngx_strcmp(value[i].data, "builtin") == 0) { sscf->builtin_session_cache = NGX_SSL_DFLT_BUILTIN_SCACHE; continue; |
