Latest update - 7296

This commit is contained in:
2018-06-08 18:54:51 +09:00
parent faee6efcda
commit 4c81d7a5fa
6 changed files with 58 additions and 28 deletions
+6 -1
View File
@@ -1020,7 +1020,12 @@ ngx_http_process_request_line(ngx_event_t *rev)
return;
}
if (r->host_start && r->host_end) {
if (r->schema_end) {
r->schema.len = r->schema_end - r->schema_start;
r->schema.data = r->schema_start;
}
if (r->host_end) {
host.len = r->host_end - r->host_start;
host.data = r->host_start;