From 2d4697dbbec7dd51ed5aeebb10e543038e15a359 Mon Sep 17 00:00:00 2001 From: Valentin Bartenev Date: Tue, 19 Feb 2019 20:25:25 +0300 Subject: Validation and normalization of request host. --- src/nxt_http.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/nxt_http.h') diff --git a/src/nxt_http.h b/src/nxt_http.h index 10c6a9f1..af0b2cd6 100644 --- a/src/nxt_http.h +++ b/src/nxt_http.h @@ -119,12 +119,12 @@ struct nxt_http_request_s { nxt_str_t *args; nxt_list_t *fields; - nxt_http_field_t *host; nxt_http_field_t *content_type; nxt_http_field_t *content_length; nxt_http_field_t *cookie; nxt_http_field_t *referer; nxt_http_field_t *user_agent; + nxt_str_t host; nxt_off_t content_length_n; nxt_sockaddr_t *remote; -- cgit