Mercurial > hg > nginx
diff src/http/modules/ngx_http_ssl_module.c @ 5573:7c05f6590753
SSL: the $ssl_session_reused variable.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Tue, 11 Feb 2014 19:20:25 +0400 |
parents | 01e2a5bcdd8f |
children | 94ae92776441 |
line wrap: on
line diff
--- a/src/http/modules/ngx_http_ssl_module.c +++ b/src/http/modules/ngx_http_ssl_module.c @@ -270,6 +270,9 @@ static ngx_http_variable_t ngx_http_ssl { ngx_string("ssl_session_id"), NULL, ngx_http_ssl_variable, (uintptr_t) ngx_ssl_get_session_id, NGX_HTTP_VAR_CHANGEABLE, 0 }, + { ngx_string("ssl_session_reused"), NULL, ngx_http_ssl_variable, + (uintptr_t) ngx_ssl_get_session_reused, NGX_HTTP_VAR_CHANGEABLE, 0 }, + { ngx_string("ssl_client_cert"), NULL, ngx_http_ssl_variable, (uintptr_t) ngx_ssl_get_certificate, NGX_HTTP_VAR_CHANGEABLE, 0 },