summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_http.h
diff options
context:
space:
mode:
authorValentin Bartenev <vbart@nginx.com>2019-02-19 20:25:25 +0300
committerValentin Bartenev <vbart@nginx.com>2019-02-19 20:25:25 +0300
commit2d4697dbbec7dd51ed5aeebb10e543038e15a359 (patch)
treeea039720eda5ff7987ed5c4a107440b1c7edc15b /src/nxt_http.h
parentacb5b0aad7f9aca966f4d40d05c104f4df68b036 (diff)
downloadunit-2d4697dbbec7dd51ed5aeebb10e543038e15a359.tar.gz
unit-2d4697dbbec7dd51ed5aeebb10e543038e15a359.tar.bz2
Validation and normalization of request host.
Diffstat (limited to 'src/nxt_http.h')
-rw-r--r--src/nxt_http.h2
1 files changed, 1 insertions, 1 deletions
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;