aboutsummaryrefslogtreecommitdiff
path: root/src/http/ngx_http_request.h
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2003-10-29 08:30:44 +0000
committerIgor Sysoev <igor@sysoev.ru>2003-10-29 08:30:44 +0000
commitb5faed2dc853ee7e6bda6004b16ceedc6c194641 (patch)
tree7812abde1b258c5e751ac6a85072c792549d55f5 /src/http/ngx_http_request.h
parentab0c4f5038cec58e23a023d8a1e01be038504e3e (diff)
downloadnginx-b5faed2dc853ee7e6bda6004b16ceedc6c194641.tar.gz
nginx-b5faed2dc853ee7e6bda6004b16ceedc6c194641.zip
nginx-0.0.1-2003-10-29-11:30:44 import
Diffstat (limited to 'src/http/ngx_http_request.h')
-rw-r--r--src/http/ngx_http_request.h13
1 files changed, 9 insertions, 4 deletions
diff --git a/src/http/ngx_http_request.h b/src/http/ngx_http_request.h
index a05b97c48..5c7ffb726 100644
--- a/src/http/ngx_http_request.h
+++ b/src/http/ngx_http_request.h
@@ -68,6 +68,8 @@ typedef struct {
typedef struct {
+ ngx_table_t *headers; /* it must be first field */
+
ngx_table_elt_t *host;
ngx_table_elt_t *connection;
ngx_table_elt_t *if_modified_since;
@@ -83,8 +85,6 @@ typedef struct {
ssize_t content_length_n;
size_t connection_type;
ssize_t keep_alive_n;
-
- ngx_table_t *headers;
} ngx_http_headers_in_t;
@@ -108,6 +108,8 @@ typedef struct {
typedef struct {
+ ngx_table_t *headers; /* it must be first field */
+
int status;
ngx_str_t status_line;
@@ -124,8 +126,6 @@ typedef struct {
ngx_str_t charset;
ngx_array_t ranges;
- ngx_table_t *headers;
-
off_t content_length_n;
char *etag;
time_t date_time;
@@ -231,4 +231,9 @@ struct ngx_http_request_s {
};
+extern ngx_http_header_t ngx_http_headers_in[];
+extern ngx_http_header_t ngx_http_headers_out[];
+
+
+
#endif /* _NGX_HTTP_REQUEST_H_INCLUDED_ */