diff src/http/v3/ngx_http_v3.h @ 8405:d2759e4cc437 quic

HTTP/3: split header parser in two functions. The first one parses pseudo-headers and is analagous to the request line parser in HTTP/1. The second one parses regular headers and is analogous to the header parser in HTTP/1. Additionally, error handling of client passing malformed uri is now fixed.
author Roman Arutyunyan <arut@nginx.com>
date Tue, 19 May 2020 15:29:10 +0300
parents 5649079a41f4
children 66feab03d9b7
line wrap: on
line diff
--- a/src/http/v3/ngx_http_v3.h
+++ b/src/http/v3/ngx_http_v3.h
@@ -67,6 +67,7 @@ typedef struct {
 } ngx_http_v3_header_t;
 
 
+ngx_int_t ngx_http_v3_parse_request(ngx_http_request_t *r, ngx_buf_t *b);
 ngx_int_t ngx_http_v3_parse_header(ngx_http_request_t *r, ngx_buf_t *b);
 ngx_int_t ngx_http_v3_parse_request_body(ngx_http_request_t *r, ngx_buf_t *b,
     ngx_http_chunked_t *ctx);