Mercurial > hg > nginx-quic
comparison src/http/modules/ngx_http_static_handler.c @ 69:e43f406e4525
nginx-0.0.1-2003-03-20-19:09:44 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Thu, 20 Mar 2003 16:09:44 +0000 |
parents | 5a7d1aaa1618 |
children | 17ab1af8c3dd |
comparison
equal
deleted
inserted
replaced
68:d549fdc17d7e | 69:e43f406e4525 |
---|---|
3 | 3 |
4 #include <ngx_string.h> | 4 #include <ngx_string.h> |
5 #include <ngx_file.h> | 5 #include <ngx_file.h> |
6 #include <ngx_hunk.h> | 6 #include <ngx_hunk.h> |
7 #include <ngx_http.h> | 7 #include <ngx_http.h> |
8 #include <ngx_http_config.h> | |
8 #include <ngx_http_output_filter.h> | 9 #include <ngx_http_output_filter.h> |
9 | 10 |
11 | |
10 ngx_http_module_t ngx_http_static_module; | 12 ngx_http_module_t ngx_http_static_module; |
11 | |
12 | |
13 #if 0 | |
14 /* STUB */ | |
15 static ngx_http_static_ctx_t module_ctx; | |
16 | |
17 void ngx_http_static_init() | |
18 { | |
19 module_ctx.out = NULL; | |
20 | |
21 ngx_http_static_module.ctx = &module_ctx; | |
22 } | |
23 /* */ | |
24 #endif | |
25 | 13 |
26 | 14 |
27 int ngx_http_static_handler(ngx_http_request_t *r) | 15 int ngx_http_static_handler(ngx_http_request_t *r) |
28 { | 16 { |
29 int rc; | 17 int rc; |