diff options
author | Igor Sysoev <igor@sysoev.ru> | 2006-10-12 13:08:26 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2006-10-12 13:08:26 +0000 |
commit | c3df798bb434682be2ea3b4d09e923bc58f0af34 (patch) | |
tree | 4562e45670c974f6fe4114c98efbbc9fd9c0987b /src/http/ngx_http_request.h | |
parent | a9ef4b06c29777d0d4b904ebade8bb1c26531ba7 (diff) | |
download | nginx-c3df798bb434682be2ea3b4d09e923bc58f0af34.tar.gz nginx-c3df798bb434682be2ea3b4d09e923bc58f0af34.zip |
compact r->http_minor and r->http_major
Diffstat (limited to 'src/http/ngx_http_request.h')
-rw-r--r-- | src/http/ngx_http_request.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/http/ngx_http_request.h b/src/http/ngx_http_request.h index 08ccd1348..204d62f09 100644 --- a/src/http/ngx_http_request.h +++ b/src/http/ngx_http_request.h @@ -330,8 +330,6 @@ struct ngx_http_request_s { ngx_uint_t method; ngx_uint_t http_version; - ngx_uint_t http_major; - ngx_uint_t http_minor; ngx_str_t request_line; ngx_str_t uri; @@ -456,6 +454,7 @@ struct ngx_http_request_s { unsigned subrequests:8; /* used to parse HTTP headers */ + ngx_uint_t state; u_char *uri_start; u_char *uri_end; @@ -475,6 +474,9 @@ struct ngx_http_request_s { u_char *header_start; u_char *header_end; + unsigned http_minor:16; + unsigned http_major:16; + ngx_uint_t header_hash; ngx_uint_t lowcase_index; u_char lowcase_header[NGX_HTTP_LC_HEADER_LEN]; |