aboutsummaryrefslogtreecommitdiff
path: root/src/http/ngx_http_request.h
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2004-04-14 05:57:36 +0000
committerIgor Sysoev <igor@sysoev.ru>2004-04-14 05:57:36 +0000
commita3677248993cddbf6f406dccd313eda8759724fb (patch)
tree85471aeb0cd73f8ae0deb50e1f4f059522c69245 /src/http/ngx_http_request.h
parent3d54061602b20fa5a6fdf55b11cb333285d61d03 (diff)
downloadnginx-a3677248993cddbf6f406dccd313eda8759724fb.tar.gz
nginx-a3677248993cddbf6f406dccd313eda8759724fb.zip
nginx-0.0.3-2004-04-14-09:57:36 import
Diffstat (limited to 'src/http/ngx_http_request.h')
-rw-r--r--src/http/ngx_http_request.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/http/ngx_http_request.h b/src/http/ngx_http_request.h
index 215dedfe8..e5ae3e1be 100644
--- a/src/http/ngx_http_request.h
+++ b/src/http/ngx_http_request.h
@@ -223,6 +223,8 @@ struct ngx_http_request_s {
ngx_str_t exten;
ngx_str_t unparsed_uri;
+ ngx_str_t method_name;
+
ngx_http_request_t *main;
uint32_t in_addr;
@@ -246,8 +248,10 @@ struct ngx_http_request_s {
unsigned http_state:4;
+#if 0
/* URI is not started with '/' - "GET http://" */
unsigned unusual_uri:1;
+#endif
/* URI with "/.", "%" and on Win32 with "//" */
unsigned complex_uri:1;
unsigned header_timeout_set:1;
@@ -281,6 +285,13 @@ struct ngx_http_request_s {
u_char *args_start;
u_char *request_start;
u_char *request_end;
+ u_char *method_end;
+ u_char *schema_start;
+ u_char *schema_end;
+ u_char *host_start;
+ u_char *host_end;
+ u_char *port_start;
+ u_char *port_end;
u_char *header_name_start;
u_char *header_name_end;
u_char *header_start;