diff options
Diffstat (limited to 'src/http/modules/ngx_http_static_handler.c')
-rw-r--r-- | src/http/modules/ngx_http_static_handler.c | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/src/http/modules/ngx_http_static_handler.c b/src/http/modules/ngx_http_static_handler.c index 7b494ee7d..c8a014164 100644 --- a/src/http/modules/ngx_http_static_handler.c +++ b/src/http/modules/ngx_http_static_handler.c @@ -5,23 +5,11 @@ #include <ngx_file.h> #include <ngx_hunk.h> #include <ngx_http.h> +#include <ngx_http_config.h> #include <ngx_http_output_filter.h> -ngx_http_module_t ngx_http_static_module; - -#if 0 -/* STUB */ -static ngx_http_static_ctx_t module_ctx; - -void ngx_http_static_init() -{ - module_ctx.out = NULL; - - ngx_http_static_module.ctx = &module_ctx; -} -/* */ -#endif +ngx_http_module_t ngx_http_static_module; int ngx_http_static_handler(ngx_http_request_t *r) |