diff src/http/modules/ngx_http_ssl_module.c @ 3154:823f72db46c0

$ssl_session_id
author Igor Sysoev <igor@sysoev.ru>
date Thu, 24 Sep 2009 14:45:28 +0000
parents ba9a8ba4207e
children dd2ae3872634
line wrap: on
line diff
--- a/src/http/modules/ngx_http_ssl_module.c	Thu Sep 24 13:23:25 2009 +0000
+++ b/src/http/modules/ngx_http_ssl_module.c	Thu Sep 24 14:45:28 2009 +0000
@@ -184,6 +184,9 @@
     { ngx_string("ssl_cipher"), NULL, ngx_http_ssl_static_variable,
       (uintptr_t) ngx_ssl_get_cipher_name, NGX_HTTP_VAR_CHANGEABLE, 0 },
 
+    { 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_client_cert"), NULL, ngx_http_ssl_variable,
       (uintptr_t) ngx_ssl_get_certificate, NGX_HTTP_VAR_CHANGEABLE, 0 },