Mercurial > hg > nginx
comparison src/http/ngx_http_request.c @ 8494:e334ca1b23ba quic
HTTP/3: support $server_protocol variable.
Now it holds "HTTP/3.0". Previously it was empty.
author | Roman Arutyunyan <arut@nginx.com> |
---|---|
date | Tue, 14 Jul 2020 16:52:44 +0300 |
parents | d41a0cafacff |
children | 0596fe1aee16 |
comparison
equal
deleted
inserted
replaced
8493:e533a352d118 | 8494:e334ca1b23ba |
---|---|
1137 "http request line: \"%V\"", &r->request_line); | 1137 "http request line: \"%V\"", &r->request_line); |
1138 | 1138 |
1139 r->method_name.len = r->method_end - r->method_start; | 1139 r->method_name.len = r->method_end - r->method_start; |
1140 r->method_name.data = r->method_start; | 1140 r->method_name.data = r->method_start; |
1141 | 1141 |
1142 if (r->http_protocol.data) { | |
1143 r->http_protocol.len = r->request_end - r->http_protocol.data; | |
1144 } | |
1145 | |
1146 if (ngx_http_process_request_uri(r) != NGX_OK) { | 1142 if (ngx_http_process_request_uri(r) != NGX_OK) { |
1147 break; | 1143 break; |
1148 } | 1144 } |
1149 | 1145 |
1150 if (r->schema_end) { | 1146 if (r->schema_end) { |