diff options
| author | Igor Sysoev <igor@sysoev.ru> | 2002-09-02 14:48:24 +0000 |
|---|---|---|
| committer | Igor Sysoev <igor@sysoev.ru> | 2002-09-02 14:48:24 +0000 |
| commit | a58e3ca14300fce97b2124233afe140c8d59199f (patch) | |
| tree | d24eff379cc7dfb5c6952f1bb15735cd63ba2179 /src/http/ngx_http.h | |
| parent | 016b85270268989d769bade2004a7c628a47d726 (diff) | |
| download | nginx-a58e3ca14300fce97b2124233afe140c8d59199f.tar.gz nginx-a58e3ca14300fce97b2124233afe140c8d59199f.tar.bz2 | |
nginx-0.0.1-2002-09-02-18:48:24 import
Diffstat (limited to '')
| -rw-r--r-- | src/http/ngx_http.h | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/src/http/ngx_http.h b/src/http/ngx_http.h index fe89874dd..3b943d656 100644 --- a/src/http/ngx_http.h +++ b/src/http/ngx_http.h @@ -5,7 +5,7 @@ #include <ngx_config.h> #include <ngx_types.h> #include <ngx_hunk.h> -#include <ngx_file.h> +#include <ngx_files.h> #include <ngx_connection.h> @@ -25,6 +25,7 @@ #define NGX_HTTP_OK 200 +#define NGX_HTTP_SPECIAL_RESPONSE 300 #define NGX_HTTP_MOVED_PERMANENTLY 302 #define NGX_HTTP_BAD_REQUEST 400 #define NGX_HTTP_NOT_FOUND 404 @@ -45,7 +46,11 @@ typedef struct { typedef struct { char *doc_root; size_t doc_root_len; - size_t buff_size; + + size_t request_pool_size; + + size_t header_buffer_size; + size_t discarded_buffer_size; unsigned int header_timeout; } ngx_http_server_t; @@ -88,7 +93,7 @@ struct ngx_http_request_s { int filename_len; int (*handler)(ngx_http_request_t *r); - ngx_file_info_t file_info; + ngx_file_info_t fileinfo; int method; @@ -104,7 +109,11 @@ struct ngx_http_request_s { int filter; + ssize_t client_content_length; + char *discarded_buffer; + unsigned header_timeout:1; + unsigned process_header:1; unsigned header_only:1; unsigned unusual_uri:1; @@ -134,6 +143,9 @@ typedef struct { #define NGX_INDEX "index.html" +/* STUB */ +int ngx_http_init(ngx_pool_t *pool, ngx_log_t *log); + int ngx_http_init_connection(ngx_connection_t *c); |
