diff options
author | Igor Sysoev <igor@sysoev.ru> | 2003-01-10 06:09:20 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2003-01-10 06:09:20 +0000 |
commit | b2620634c5c395f227a98837f46e1eaf6b86963c (patch) | |
tree | d9333eef73b09e7351cdc8705df984786a5544b3 /src/http/ngx_http.c | |
parent | 4e9393a0548d783cd6f50d1fcd003c85a24b2b16 (diff) | |
download | nginx-b2620634c5c395f227a98837f46e1eaf6b86963c.tar.gz nginx-b2620634c5c395f227a98837f46e1eaf6b86963c.zip |
nginx-0.0.1-2003-01-10-09:09:20 import
Diffstat (limited to 'src/http/ngx_http.c')
-rw-r--r-- | src/http/ngx_http.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/http/ngx_http.c b/src/http/ngx_http.c index 6e3c676a1..eb551cd28 100644 --- a/src/http/ngx_http.c +++ b/src/http/ngx_http.c @@ -26,6 +26,10 @@ int ngx_http_lingering_timeout = 5000; int ngx_http_lingering_time = 30; /**/ + +ngx_array_t ngx_http_index_handlers; + + int (*ngx_http_top_header_filter) (ngx_http_request_t *r); @@ -117,6 +121,9 @@ static char *ngx_http_block(ngx_conf_t *cf, ngx_command_t *cmd, char *dummy) if (rv != NGX_CONF_OK) return rv; + ngx_init_array(ngx_http_index_handlers, + cf->pool, 3, sizeof(ngx_http_handler_pt), NGX_CONF_ERROR); + ngx_http_init_filters(cf->pool, ngx_modules); #if 1 |