comparison 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
comparison
equal deleted inserted replaced
5092:c4d3310574e0 5093:68ca3e824115
292 typedef struct ngx_http_addr_conf_s ngx_http_addr_conf_t; 292 typedef struct ngx_http_addr_conf_s ngx_http_addr_conf_t;
293 293
294 typedef struct { 294 typedef struct {
295 ngx_http_addr_conf_t *addr_conf; 295 ngx_http_addr_conf_t *addr_conf;
296 ngx_http_conf_ctx_t *conf_ctx; 296 ngx_http_conf_ctx_t *conf_ctx;
297
298 #ifdef SSL_CTRL_SET_TLSEXT_HOSTNAME
299 ngx_str_t *ssl_servername;
300 #if (NGX_PCRE)
301 ngx_http_regex_t *ssl_servername_regex;
302 #endif
303 #endif
297 304
298 ngx_http_request_t *request; 305 ngx_http_request_t *request;
299 306
300 ngx_buf_t **busy; 307 ngx_buf_t **busy;
301 ngx_int_t nbusy; 308 ngx_int_t nbusy;