diff options
| author | Igor Sysoev <igor@sysoev.ru> | 2004-06-24 07:53:37 +0000 |
|---|---|---|
| committer | Igor Sysoev <igor@sysoev.ru> | 2004-06-24 07:53:37 +0000 |
| commit | c83f683553cb76dcc9b7311495383edbacccf06d (patch) | |
| tree | 3fecc630afb8e5c101973ab5530379eca3246725 /src/http/modules/ngx_http_status.c | |
| parent | e0207bb8eb230d4750c4f328af9afbb79051a026 (diff) | |
| download | nginx-c83f683553cb76dcc9b7311495383edbacccf06d.tar.gz nginx-c83f683553cb76dcc9b7311495383edbacccf06d.tar.bz2 | |
nginx-0.0.7-2004-06-24-11:53:37 import
Diffstat (limited to 'src/http/modules/ngx_http_status.c')
| -rw-r--r-- | src/http/modules/ngx_http_status.c | 61 |
1 files changed, 0 insertions, 61 deletions
diff --git a/src/http/modules/ngx_http_status.c b/src/http/modules/ngx_http_status.c deleted file mode 100644 index 1007364bd..000000000 --- a/src/http/modules/ngx_http_status.c +++ /dev/null @@ -1,61 +0,0 @@ - -#include <ngx_config.h> -#include <ngx_core.h> -#include <ngx_http.h> - - -static ngx_command_t ngx_http_status_commands[] = { - - ngx_null_command -}; - - -ngx_http_module_t ngx_http_status_module_ctx = { - NULL, /* pre conf */ - - NULL, /* create main configuration */ - NULL, /* init main configuration */ - - NULL, /* create server configuration */ - NULL, /* merge server configuration */ - - ngx_http_status_create_loc_conf, /* create location configration */ - ngx_http_status_merge_loc_conf /* merge location configration */ -}; - - -ngx_module_t ngx_http_status_module = { - NGX_MODULE, - &ngx_http_status_module_ctx, /* module context */ - ngx_http_status_commands, /* module directives */ - NGX_HTTP_MODULE, /* module type */ - ngx_http_status_init, /* init module */ - NULL /* init child */ -}; - - -static char http_states = "IRPCUWLK"; - - -int ngx_http_status_handler(ngx_http_request_t *r) -{ - ngx_int_t i, http; - ngx_connection_t *c; - ngx_http_request_t *sr; - - c = ngx_cycle->connections; - - for (i = 0; i < ngx_cycle->connection_n; i++) { - if (c[i].module != http || c[i].data == NULL) { - continue; - } - - if (c[i].data == NULL && c[i].fd != -1) { - 'A' - } - - sr = c[i].data; - } - - return NGX_OK; -} |
