comparison src/http/ngx_http.h @ 3217:a22bf524a456

refactor http listen code: *) add listen's to the global cmcf->ports array instead of server's one *) rename ngx_http_listen_conf_t to ngx_http_listen_opt_t
author Igor Sysoev <igor@sysoev.ru>
date Wed, 21 Oct 2009 08:19:46 +0000
parents 798a7f1d3b2f
children cdcd9e29c589
comparison
equal deleted inserted replaced
3216:79ae445ec57b 3217:a22bf524a456
55 #define ngx_http_set_ctx(r, c, module) r->ctx[module.ctx_index] = c; 55 #define ngx_http_set_ctx(r, c, module) r->ctx[module.ctx_index] = c;
56 56
57 57
58 ngx_int_t ngx_http_add_location(ngx_conf_t *cf, ngx_queue_t **locations, 58 ngx_int_t ngx_http_add_location(ngx_conf_t *cf, ngx_queue_t **locations,
59 ngx_http_core_loc_conf_t *clcf); 59 ngx_http_core_loc_conf_t *clcf);
60 ngx_int_t ngx_http_add_listen(ngx_conf_t *cf, ngx_http_core_srv_conf_t *cscf,
61 ngx_http_listen_t *listen);
60 62
61 63
62 void ngx_http_init_connection(ngx_connection_t *c); 64 void ngx_http_init_connection(ngx_connection_t *c);
63 65
64 #ifdef SSL_CTRL_SET_TLSEXT_HOSTNAME 66 #ifdef SSL_CTRL_SET_TLSEXT_HOSTNAME