diff src/http/ngx_http_request.h @ 5093:68ca3e824115

SNI: avoid surplus lookup of virtual server if SNI was used.
author Valentin Bartenev <vbart@nginx.com>
date Wed, 27 Feb 2013 17:33:59 +0000
parents d3e256c67d6d
children 63014d919fec
line wrap: on
line diff
--- a/src/http/ngx_http_request.h
+++ b/src/http/ngx_http_request.h
@@ -295,6 +295,13 @@ typedef struct {
     ngx_http_addr_conf_t             *addr_conf;
     ngx_http_conf_ctx_t              *conf_ctx;
 
+#ifdef SSL_CTRL_SET_TLSEXT_HOSTNAME
+    ngx_str_t                        *ssl_servername;
+#if (NGX_PCRE)
+    ngx_http_regex_t                 *ssl_servername_regex;
+#endif
+#endif
+
     ngx_http_request_t               *request;
 
     ngx_buf_t                       **busy;