comparison src/http/ngx_http_request.h @ 8215:38c0898b6df7 quic

HTTP/3.
author Roman Arutyunyan <arut@nginx.com>
date Fri, 13 Mar 2020 19:36:33 +0300
parents 5d91389e0fd3
children 268f4389130d
comparison
equal deleted inserted replaced
8214:6fd2cce50fe2 8215:38c0898b6df7
22 22
23 #define NGX_HTTP_VERSION_9 9 23 #define NGX_HTTP_VERSION_9 9
24 #define NGX_HTTP_VERSION_10 1000 24 #define NGX_HTTP_VERSION_10 1000
25 #define NGX_HTTP_VERSION_11 1001 25 #define NGX_HTTP_VERSION_11 1001
26 #define NGX_HTTP_VERSION_20 2000 26 #define NGX_HTTP_VERSION_20 2000
27 #define NGX_HTTP_VERSION_30 3000
27 28
28 #define NGX_HTTP_UNKNOWN 0x0001 29 #define NGX_HTTP_UNKNOWN 0x0001
29 #define NGX_HTTP_GET 0x0002 30 #define NGX_HTTP_GET 0x0002
30 #define NGX_HTTP_HEAD 0x0004 31 #define NGX_HTTP_HEAD 0x0004
31 #define NGX_HTTP_POST 0x0008 32 #define NGX_HTTP_POST 0x0008
582 u_char *uri_end; 583 u_char *uri_end;
583 u_char *uri_ext; 584 u_char *uri_ext;
584 u_char *args_start; 585 u_char *args_start;
585 u_char *request_start; 586 u_char *request_start;
586 u_char *request_end; 587 u_char *request_end;
588 u_char *method_start;
587 u_char *method_end; 589 u_char *method_end;
588 u_char *schema_start; 590 u_char *schema_start;
589 u_char *schema_end; 591 u_char *schema_end;
590 u_char *host_start; 592 u_char *host_start;
591 u_char *host_end; 593 u_char *host_end;
592 u_char *port_start; 594 u_char *port_start;
593 u_char *port_end; 595 u_char *port_end;
594 596
597 #if (NGX_HTTP_V3)
598 ngx_uint_t h3_length;
599 ngx_uint_t h3_index;
600 ngx_uint_t h3_insert_count;
601 ngx_uint_t h3_sign;
602 ngx_uint_t h3_delta_base;
603 ngx_uint_t h3_huffman;
604 ngx_uint_t h3_dynamic;
605 ngx_uint_t h3_offset;
606 #endif
607
595 unsigned http_minor:16; 608 unsigned http_minor:16;
596 unsigned http_major:16; 609 unsigned http_major:16;
597 }; 610 };
598 611
599 612