aboutsummaryrefslogtreecommitdiff
path: root/src/http/modules/ngx_http_static_handler.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2003-03-20 16:09:44 +0000
committerIgor Sysoev <igor@sysoev.ru>2003-03-20 16:09:44 +0000
commitdc479b4d98d5b65b78689c5282a31c70efadd928 (patch)
tree7caf32d89eec03484b14ebe74dfefd2a80c8fa02 /src/http/modules/ngx_http_static_handler.c
parent90ace68b69606b885578686e19d499a50d5e80b7 (diff)
downloadnginx-dc479b4d98d5b65b78689c5282a31c70efadd928.tar.gz
nginx-dc479b4d98d5b65b78689c5282a31c70efadd928.zip
nginx-0.0.1-2003-03-20-19:09:44 import
Diffstat (limited to 'src/http/modules/ngx_http_static_handler.c')
-rw-r--r--src/http/modules/ngx_http_static_handler.c16
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)