Home
last modified time | relevance | path

Searched refs:host_length (Results 1 – 2 of 2) sorted by relevance

/unit/src/
H A Dnxt_http_request.c110 size_t i, dot_pos, host_length; in nxt_http_validate_host() local
120 host_length = host->length; in nxt_http_validate_host()
147 host_length = i; in nxt_http_validate_host()
162 host_length = i + 1; in nxt_http_validate_host()
180 if (dot_pos == host_length - 1) { in nxt_http_validate_host()
181 host_length--; in nxt_http_validate_host()
184 host->length = host_length; in nxt_http_validate_host()
187 host->start = nxt_mp_nget(mp, host_length); in nxt_http_validate_host()
192 nxt_memcpy_lowcase(host->start, h, host_length); in nxt_http_validate_host()
H A Dnxt_unit.h249 void nxt_unit_split_host(char *host_start, uint32_t host_length,