aboutsummaryrefslogtreecommitdiff
path: root/src/http/ngx_http.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/http/ngx_http.c')
-rw-r--r--src/http/ngx_http.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/http/ngx_http.c b/src/http/ngx_http.c
index aa4bcb422..80936c85e 100644
--- a/src/http/ngx_http.c
+++ b/src/http/ngx_http.c
@@ -39,7 +39,8 @@ int ngx_http_init(ngx_pool_t *pool, ngx_log_t *log)
ngx_http_server.doc_root_len = strlen(ngx_http_server.doc_root) + 1;
- ngx_http_config_modules(pool, ngx_http_modules);
+ ngx_http_config_modules(pool, ngx_modules);
+#if 0
/* STUB */
ngx_http_output_filter_set_stub(pool, ngx_http_modules);
@@ -47,7 +48,8 @@ int ngx_http_init(ngx_pool_t *pool, ngx_log_t *log)
ngx_http_index_set_stub(pool, ngx_http_modules);
ngx_http_init_modules(pool, ngx_http_modules);
- ngx_http_init_filters(pool, ngx_http_modules);
+#endif
+ ngx_http_init_filters(pool, ngx_modules);
ls = ngx_push_array(ngx_listening_sockets);
ngx_memzero(ls, sizeof(ngx_listen_t));