Home
last modified time | relevance | path

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

/curl/lib/
H A Dsocks.c587 const size_t hostname_len = strlen(sx->hostname); in do_SOCKS5() local
601 if(!socks5_resolve_local && hostname_len > 255) { in do_SOCKS5()
930 socksreq[len++] = (unsigned char) hostname_len; /* one byte length */ in do_SOCKS5()
931 memcpy(&socksreq[len], sx->hostname, hostname_len); /* w/o NULL */ in do_SOCKS5()
932 len += hostname_len; in do_SOCKS5()
H A Dcookie.c114 size_t hostname_len = strlen(hostname); in cookie_tailmatch() local
116 if(hostname_len < cookie_domain_len) in cookie_tailmatch()
120 hostname + hostname_len-cookie_domain_len, in cookie_tailmatch()
132 if(hostname_len == cookie_domain_len) in cookie_tailmatch()
134 if('.' == *(hostname + hostname_len - cookie_domain_len - 1)) in cookie_tailmatch()
H A Dhostip.c696 size_t hostname_len = strlen(hostname); in Curl_resolv() local
697 if(hostname_len >= 7 && in Curl_resolv()
698 (curl_strequal(&hostname[hostname_len - 6], ".onion") || in Curl_resolv()
699 curl_strequal(&hostname[hostname_len - 7], ".onion."))) { in Curl_resolv()

Completed in 18 milliseconds