diff options
author | Igor Sysoev <igor@sysoev.ru> | 2004-04-12 16:38:09 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2004-04-12 16:38:09 +0000 |
commit | 43f131923f25600c771e014a7eebf74d407776a7 (patch) | |
tree | 19e9a678f68d0d434fbcc13c52c9507bfc66eb28 /src/http/ngx_http.c | |
parent | 076498e356546713a4b40edea95bcc1a30c45a98 (diff) | |
download | nginx-43f131923f25600c771e014a7eebf74d407776a7.tar.gz nginx-43f131923f25600c771e014a7eebf74d407776a7.zip |
nginx-0.0.3-2004-04-12-20:38:09 import
Diffstat (limited to 'src/http/ngx_http.c')
-rw-r--r-- | src/http/ngx_http.c | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/src/http/ngx_http.c b/src/http/ngx_http.c index 4ddca787e..73333df37 100644 --- a/src/http/ngx_http.c +++ b/src/http/ngx_http.c @@ -18,9 +18,6 @@ int (*ngx_http_top_header_filter) (ngx_http_request_t *r); int (*ngx_http_top_body_filter) (ngx_http_request_t *r, ngx_chain_t *ch); -static ngx_str_t http_name = ngx_string("http"); - - static ngx_command_t ngx_http_commands[] = { {ngx_string("http"), @@ -33,10 +30,17 @@ static ngx_command_t ngx_http_commands[] = { ngx_null_command }; + +static ngx_core_module_t ngx_http_module_ctx = { + ngx_string("http"), + NULL, + NULL +}; + ngx_module_t ngx_http_module = { NGX_MODULE, - &http_name, /* module context */ + &ngx_http_module_ctx, /* module context */ ngx_http_commands, /* module directives */ NGX_CORE_MODULE, /* module type */ NULL, /* init module */ |