Mercurial > hg > nginx-quic
comparison src/http/ngx_http_request.c @ 7699:1e45c02f6376 quic
HTTP/3 $request_line variable.
author | Roman Arutyunyan <arut@nginx.com> |
---|---|
date | Wed, 18 Mar 2020 20:22:16 +0300 |
parents | 268f4389130d |
children | e9891e8ee975 |
comparison
equal
deleted
inserted
replaced
7698:253cf267f95a | 7699:1e45c02f6376 |
---|---|
1175 | 1175 |
1176 /* the request line has been parsed successfully */ | 1176 /* the request line has been parsed successfully */ |
1177 | 1177 |
1178 r->request_line.len = r->request_end - r->request_start; | 1178 r->request_line.len = r->request_end - r->request_start; |
1179 r->request_line.data = r->request_start; | 1179 r->request_line.data = r->request_start; |
1180 r->request_length = r->header_in->pos - r->request_start; | 1180 r->request_length = r->header_in->pos - r->request_start; /* XXX */ |
1181 | 1181 |
1182 ngx_log_debug1(NGX_LOG_DEBUG_HTTP, c->log, 0, | 1182 ngx_log_debug1(NGX_LOG_DEBUG_HTTP, c->log, 0, |
1183 "http request line: \"%V\"", &r->request_line); | 1183 "http request line: \"%V\"", &r->request_line); |
1184 | 1184 |
1185 r->method_name.len = r->method_end - r->method_start; | 1185 r->method_name.len = r->method_end - r->method_start; |
1591 /* a whole header has been parsed successfully */ | 1591 /* a whole header has been parsed successfully */ |
1592 | 1592 |
1593 ngx_log_debug0(NGX_LOG_DEBUG_HTTP, r->connection->log, 0, | 1593 ngx_log_debug0(NGX_LOG_DEBUG_HTTP, r->connection->log, 0, |
1594 "http header done"); | 1594 "http header done"); |
1595 | 1595 |
1596 r->request_length += r->header_in->pos - r->header_name_start; | 1596 r->request_length += r->header_in->pos - r->header_name_start; /* XXX */ |
1597 | 1597 |
1598 r->http_state = NGX_HTTP_PROCESS_REQUEST_STATE; | 1598 r->http_state = NGX_HTTP_PROCESS_REQUEST_STATE; |
1599 | 1599 |
1600 rc = ngx_http_process_request_header(r); | 1600 rc = ngx_http_process_request_header(r); |
1601 | 1601 |