Home
last modified time | relevance | path

Searched refs:host_len (Results 1 – 3 of 3) sorted by relevance

/f-stack/app/nginx-1.16.1/src/stream/
H A Dngx_stream_upstream_hash_module.c289 size_t host_len, port_len, size; in ngx_stream_upstream_init_chash() local
333 host_len = server->len - 5; in ngx_stream_upstream_init_chash()
344 host_len = server->len - j - 1; in ngx_stream_upstream_init_chash()
356 host_len = server->len; in ngx_stream_upstream_init_chash()
363 ngx_crc32_update(&base_hash, host, host_len); in ngx_stream_upstream_init_chash()
/f-stack/app/nginx-1.16.1/src/http/modules/
H A Dngx_http_upstream_hash_module.c289 size_t host_len, port_len, size; in ngx_http_upstream_init_chash() local
333 host_len = server->len - 5; in ngx_http_upstream_init_chash()
344 host_len = server->len - j - 1; in ngx_http_upstream_init_chash()
356 host_len = server->len; in ngx_http_upstream_init_chash()
363 ngx_crc32_update(&base_hash, host, host_len); in ngx_http_upstream_init_chash()
/f-stack/app/nginx-1.16.1/src/http/
H A Dngx_http_request.c2063 size_t i, dot_pos, host_len; in ngx_http_validate_host() local
2072 host_len = host->len; in ngx_http_validate_host()
2092 host_len = i; in ngx_http_validate_host()
2105 host_len = i + 1; in ngx_http_validate_host()
2127 if (dot_pos == host_len - 1) { in ngx_http_validate_host()
2128 host_len--; in ngx_http_validate_host()
2131 if (host_len == 0) { in ngx_http_validate_host()
2136 host->data = ngx_pnalloc(pool, host_len); in ngx_http_validate_host()
2141 ngx_strlow(host->data, h, host_len); in ngx_http_validate_host()
2144 host->len = host_len; in ngx_http_validate_host()