diff options
author | Valentin Bartenev <vbart@nginx.com> | 2019-02-19 20:25:25 +0300 |
---|---|---|
committer | Valentin Bartenev <vbart@nginx.com> | 2019-02-19 20:25:25 +0300 |
commit | 2d4697dbbec7dd51ed5aeebb10e543038e15a359 (patch) | |
tree | ea039720eda5ff7987ed5c4a107440b1c7edc15b /src/nxt_http.h | |
parent | acb5b0aad7f9aca966f4d40d05c104f4df68b036 (diff) | |
download | unit-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.h | 2 |
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; |