diff options
author | Roman Arutyunyan <arut@nginx.com> | 2021-01-22 16:34:06 +0300 |
---|---|---|
committer | Roman Arutyunyan <arut@nginx.com> | 2021-01-22 16:34:06 +0300 |
commit | 9e489d208fff35c490b43980a064c38cc8dc4f2c (patch) | |
tree | 13434e205541c72867fff50bcd2c05662078d611 /src/http/ngx_http_parse.c | |
parent | f3c9e9f9616066c6f1d16b9b1e01b7a3d0e2503a (diff) | |
download | nginx-9e489d208fff35c490b43980a064c38cc8dc4f2c.tar.gz nginx-9e489d208fff35c490b43980a064c38cc8dc4f2c.zip |
HTTP/3: refactored request parser.
The change reduces diff to the default branch for
src/http/ngx_http_request.c and src/http/ngx_http_parse.c.
Diffstat (limited to 'src/http/ngx_http_parse.c')
-rw-r--r-- | src/http/ngx_http_parse.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/http/ngx_http_parse.c b/src/http/ngx_http_parse.c index 7b5cd30cd..20ad89a77 100644 --- a/src/http/ngx_http_parse.c +++ b/src/http/ngx_http_parse.c @@ -143,7 +143,6 @@ ngx_http_parse_request_line(ngx_http_request_t *r, ngx_buf_t *b) /* HTTP methods: GET, HEAD, POST */ case sw_start: - r->parse_start = p; r->request_start = p; if (ch == CR || ch == LF) { @@ -896,7 +895,6 @@ ngx_http_parse_header_line(ngx_http_request_t *r, ngx_buf_t *b, /* first char */ case sw_start: - r->parse_start = p; r->header_name_start = p; r->invalid_header = 0; |