diff options
author | Valentin Bartenev <vbart@nginx.com> | 2013-02-27 17:33:59 +0000 |
---|---|---|
committer | Valentin Bartenev <vbart@nginx.com> | 2013-02-27 17:33:59 +0000 |
commit | f61612532cb53e89cd6b27d24c9112a07021b6e3 (patch) | |
tree | 4efade8400693d05cc8365f129f32065b7b0c213 /src/http/ngx_http_request.h | |
parent | 8c4fea17667d63a70e09571e0aa18551765c24c3 (diff) | |
download | nginx-f61612532cb53e89cd6b27d24c9112a07021b6e3.tar.gz nginx-f61612532cb53e89cd6b27d24c9112a07021b6e3.zip |
SNI: avoid surplus lookup of virtual server if SNI was used.
Diffstat (limited to 'src/http/ngx_http_request.h')
-rw-r--r-- | src/http/ngx_http_request.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/http/ngx_http_request.h b/src/http/ngx_http_request.h index c4b6422c4..6ddf08e30 100644 --- 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; |