Lines Matching defs:host

186   StringRef host;
562 s += addr.host;
729 return !ia.used && ia.host_unix && ia.host == faddr.host;
733 LOG(NOTICE) << "Listening on UNIX domain socket " << faddr.host
772 if (faddr.host.size() + 1 > sizeof(addr.un.sun_path)) {
773 LOG(FATAL) << "UNIX domain socket path " << faddr.host << " is too long > "
779 std::copy_n(faddr.host.c_str(), faddr.host.size() + 1, addr.un.sun_path);
782 unlink(faddr.host.c_str());
802 LOG(NOTICE) << "Listening on UNIX domain socket " << faddr.host
831 faddr.host == StringRef::from_lit("*") ? nullptr : faddr.host.c_str();
844 << " address for " << faddr.host << ", port " << faddr.port
851 std::array<char, NI_MAXHOST> host;
855 rv = getnameinfo(rp->ai_addr, rp->ai_addrlen, host.data(), host.size(),
864 [&host, &faddr](const InheritedAddr &ia) {
866 ia.host == host.data() &&
969 StringRef{host.data()}, faddr.port);
996 iaddr.host = addr.host;
1007 // '*' appear in addr.host, which makes comparison against "real"
1015 // socket if it is not reused. The empty host name usually does
1025 std::array<char, NI_MAXHOST> host;
1026 rv = getnameinfo(&su.sa, salen, host.data(), host.size(), nullptr, 0,
1034 iaddr.host = make_string_ref(balloc, StringRef{host.data()});
1126 addr.host = make_string_ref(config->balloc, StringRef{path});
1164 std::array<char, NI_MAXHOST> host;
1165 rv = getnameinfo(&su.sa, salen, host.data(), host.size(), nullptr, 0,
1176 << ", address=" << host.data() << ", port=" << port;
1180 addr.host = make_string_ref(config->balloc, StringRef{host.data()});
1311 if (chown(addr.host.c_str(), config->uid, config->gid) == -1) {
1313 LOG(WARN) << "Changing owner of UNIX domain socket " << addr.host
2227 Set backend host and port. The multiple backend
2236 consists of path, host + path or just host. The path
2244 If host is given, it performs a match against the
2245 request host. For a request received on the frontend
2246 listener with "sni-fwd" parameter enabled, SNI host is
2247 used instead of a request host. If host alone is given,
2249 paths under the host (e.g., specifying "nghttp2.org"
2255 Patterns with host take precedence over patterns with
2262 host pattern "*.nghttp2.org" matches against
2284 pattern, request host and path. For host part, they are
2291 matches the request host "nghttp2.org" and the request
2292 path "/httpbin/get", but does not match the request host
2393 By default, name resolution of backend host name is done
2398 backend host name at start up, or reloading
2476 Set frontend host and port. If <HOST> is '*', it
2491 to select a backend server, SNI host name received from
2492 the client is used instead of the request host. See
2600 --backend-connections-per-host=<N>
2602 (and/or streams in case of HTTP/2) per origin host.
2604 used. The origin host is determined by authority
2615 unlimited. To limit the number of connections per host
2617 --backend-connections-per-host.
3215 * $backend_host: backend host used to fulfill the
3216 request. "-" if backend host is not available.
3218 request. "-" if backend host is not available.
3270 parameters are "by", "for", "host", and "proto". By
3309 --host-rewrite
3310 Rewrite host and :authority header fields in default
3314 Specify protocol ID, port, host and origin of
3784 addr.host = StringRef::from_lit("*");
3825 if (!proxy.host.empty()) {
3827 StringRef{proxy.host}, proxy.port);
3828 if (resolve_hostname(&proxy.addr, proxy.host.c_str(), proxy.port,
3839 if (!memcachedconf.host.empty()) {
3841 StringRef{memcachedconf.host},
3843 if (resolve_hostname(&memcachedconf.addr, memcachedconf.host.c_str(),
3861 if (!memcachedconf.host.empty()) {
3863 StringRef{memcachedconf.host},
3865 if (resolve_hostname(&memcachedconf.addr, memcachedconf.host.c_str(),
4710 // --backend-http1-connections-per-host
4752 // --no-host-rewrite
4801 // --host-rewrite
4968 // --backend-connections-per-host