diff options
author | Roman Arutyunyan <arut@nginx.com> | 2020-05-19 15:29:10 +0300 |
---|---|---|
committer | Roman Arutyunyan <arut@nginx.com> | 2020-05-19 15:29:10 +0300 |
commit | 6abb50658fcdf6ab92a4bc9042cd7dd9bb413850 (patch) | |
tree | b7f4418b34440c8f0ba8ce83d96f5ad522a9d718 /src/http/ngx_http_request.c | |
parent | d69f678e9c788e2c2424eb6dc2fbacf8366213f6 (diff) | |
download | nginx-6abb50658fcdf6ab92a4bc9042cd7dd9bb413850.tar.gz nginx-6abb50658fcdf6ab92a4bc9042cd7dd9bb413850.zip |
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.
Diffstat (limited to 'src/http/ngx_http_request.c')
-rw-r--r-- | src/http/ngx_http_request.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/http/ngx_http_request.c b/src/http/ngx_http_request.c index b0cc9a543..e77c4bc35 100644 --- a/src/http/ngx_http_request.c +++ b/src/http/ngx_http_request.c @@ -1164,7 +1164,7 @@ ngx_http_process_request_line(ngx_event_t *rev) switch (r->http_version) { #if (NGX_HTTP_V3) case NGX_HTTP_VERSION_30: - rc = ngx_http_v3_parse_header(r, r->header_in); + rc = ngx_http_v3_parse_request(r, r->header_in); break; #endif |