Mercurial > hg > nginx
comparison src/http/ngx_http_request.h @ 772:843412b22ba2
compact r->http_minor and r->http_major
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Thu, 12 Oct 2006 13:08:26 +0000 |
parents | 1be87cdd010f |
children | c3ebeee31026 |
comparison
equal
deleted
inserted
replaced
771:c8f991340053 | 772:843412b22ba2 |
---|---|
328 time_t lingering_time; | 328 time_t lingering_time; |
329 time_t start_time; | 329 time_t start_time; |
330 | 330 |
331 ngx_uint_t method; | 331 ngx_uint_t method; |
332 ngx_uint_t http_version; | 332 ngx_uint_t http_version; |
333 ngx_uint_t http_major; | |
334 ngx_uint_t http_minor; | |
335 | 333 |
336 ngx_str_t request_line; | 334 ngx_str_t request_line; |
337 ngx_str_t uri; | 335 ngx_str_t uri; |
338 ngx_str_t args; | 336 ngx_str_t args; |
339 ngx_str_t exten; | 337 ngx_str_t exten; |
454 #endif | 452 #endif |
455 | 453 |
456 unsigned subrequests:8; | 454 unsigned subrequests:8; |
457 | 455 |
458 /* used to parse HTTP headers */ | 456 /* used to parse HTTP headers */ |
457 | |
459 ngx_uint_t state; | 458 ngx_uint_t state; |
460 u_char *uri_start; | 459 u_char *uri_start; |
461 u_char *uri_end; | 460 u_char *uri_end; |
462 u_char *uri_ext; | 461 u_char *uri_ext; |
463 u_char *args_start; | 462 u_char *args_start; |
473 u_char *header_name_start; | 472 u_char *header_name_start; |
474 u_char *header_name_end; | 473 u_char *header_name_end; |
475 u_char *header_start; | 474 u_char *header_start; |
476 u_char *header_end; | 475 u_char *header_end; |
477 | 476 |
477 unsigned http_minor:16; | |
478 unsigned http_major:16; | |
479 | |
478 ngx_uint_t header_hash; | 480 ngx_uint_t header_hash; |
479 ngx_uint_t lowcase_index; | 481 ngx_uint_t lowcase_index; |
480 u_char lowcase_header[NGX_HTTP_LC_HEADER_LEN]; | 482 u_char lowcase_header[NGX_HTTP_LC_HEADER_LEN]; |
481 }; | 483 }; |
482 | 484 |