Validation and normalization of request host.

This commit is contained in:
Valentin Bartenev
2019-02-19 20:25:25 +03:00
parent acb5b0aad7
commit 2d4697dbbe
3 changed files with 112 additions and 11 deletions

View File

@@ -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;