comparison src/http/ngx_http.h @ 8282:6bd8ed493b85 quic

HTTP/3: refactored request body parser. The change reduces diff to the default branch for src/http/ngx_http_request_body.c. Also, client Content-Length, if present, is now checked against the real body size sent by client.
author Roman Arutyunyan <arut@nginx.com>
date Mon, 25 Jan 2021 16:16:47 +0300
parents e1eb7f4ca9f1
children 3057bae4dba7
comparison
equal deleted inserted replaced
8281:a346905c359f 8282:6bd8ed493b85
64 64
65 struct ngx_http_chunked_s { 65 struct ngx_http_chunked_s {
66 ngx_uint_t state; 66 ngx_uint_t state;
67 off_t size; 67 off_t size;
68 off_t length; 68 off_t length;
69 #if (NGX_HTTP_V3)
70 void *h3_parse;
71 #endif
72 }; 69 };
73 70
74 71
75 typedef struct { 72 typedef struct {
76 ngx_uint_t http_version; 73 ngx_uint_t http_version;