Mercurial > hg > nginx-quic
comparison src/http/ngx_http.c @ 45:f1ee46c036a4
nginx-0.0.1-2003-01-10-09:09:20 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Fri, 10 Jan 2003 06:09:20 +0000 |
parents | 0e81ac0bb3e2 |
children | 27b628ef907e |
comparison
equal
deleted
inserted
replaced
44:0e81ac0bb3e2 | 45:f1ee46c036a4 |
---|---|
23 | 23 |
24 /* STUB: per location */ | 24 /* STUB: per location */ |
25 int ngx_http_lingering_timeout = 5000; | 25 int ngx_http_lingering_timeout = 5000; |
26 int ngx_http_lingering_time = 30; | 26 int ngx_http_lingering_time = 30; |
27 /**/ | 27 /**/ |
28 | |
29 | |
30 ngx_array_t ngx_http_index_handlers; | |
31 | |
28 | 32 |
29 int (*ngx_http_top_header_filter) (ngx_http_request_t *r); | 33 int (*ngx_http_top_header_filter) (ngx_http_request_t *r); |
30 | 34 |
31 | 35 |
32 static ngx_str_t http_name = ngx_string("http"); | 36 static ngx_str_t http_name = ngx_string("http"); |
115 cf->ctx = prev; | 119 cf->ctx = prev; |
116 | 120 |
117 if (rv != NGX_CONF_OK) | 121 if (rv != NGX_CONF_OK) |
118 return rv; | 122 return rv; |
119 | 123 |
124 ngx_init_array(ngx_http_index_handlers, | |
125 cf->pool, 3, sizeof(ngx_http_handler_pt), NGX_CONF_ERROR); | |
126 | |
120 ngx_http_init_filters(cf->pool, ngx_modules); | 127 ngx_http_init_filters(cf->pool, ngx_modules); |
121 | 128 |
122 #if 1 | 129 #if 1 |
123 ngx_init_array(in_ports, cf->pool, 10, sizeof(ngx_http_in_port_t), | 130 ngx_init_array(in_ports, cf->pool, 10, sizeof(ngx_http_in_port_t), |
124 NGX_CONF_ERROR); | 131 NGX_CONF_ERROR); |