Lines Matching defs:hostname

52     const char   *target_host;     /* Target hostname */
407 if (r->hostname != NULL) {
408 return r->hostname;
424 r->hostname = host;
601 "2)IP-NoMatch: hostname=%s msg=Host not found", host);
782 const char *hostname, apr_sockaddr_t *addr)
793 hostname, npent[j].name);
794 if (ap_strstr_c(hostname, npent[j].name) || npent[j].name[0] == '*') {
797 "matched", hostname, npent[j].name);
803 * not resolve the hostname. */
822 "IP %s matched", hostname, caddr);
849 * after the hostname
1130 if (puri.hostname && PROXY_STRNCPY(balancer->s->vhost, puri.hostname) != APR_SUCCESS) {
1132 balancer->s->name, puri.hostname);
1468 * struct like hostname and addr (at least in the case where we have
1582 * therefore we know the length of the scheme://hostname/
1603 * scheme://hostname[:port] matches between worker and url.
1690 if (!uri.hostname) {
1692 uri.hostname = "localhost";
1699 ap_str_tolower(uri.hostname);
1748 if (PROXY_STRNCPY(wshared->hostname, uri.hostname) != APR_SUCCESS) {
1749 return apr_psprintf(p, "worker hostname (%s) too long", uri.hostname);
1924 getpid(), worker->s->hostname, worker->s->min,
1941 getpid(), worker->s->hostname);
1963 proxy_function, worker->s->hostname);
1969 proxy_function, worker->s->hostname);
2184 proxy_function, worker->s->hostname);
2207 proxy_function, worker->s->hostname);
2212 proxy_function, worker->s->hostname);
2227 proxy_function, conn->worker->s->hostname);
2265 "connecting %s to %s:%d", *url, uri->hostname, uri->port);
2320 conn->hostname = "httpd-UDS";
2325 if (!conn->hostname || !will_reuse) {
2327 conn->hostname = apr_pstrdup(conn->pool, proxyname);
2341 forward->target_host = apr_pstrdup(conn->pool, uri->hostname);
2359 conn->hostname = apr_pstrdup(conn->pool, uri->hostname);
2368 conn->hostname, APR_UNSPEC,
2393 conn->hostname, APR_UNSPEC,
2415 conn->hostname, NULL));
2430 if (OK != ap_proxy_checkproxyblock(r, conf, uri->hostname,
2436 * When SSL is configured, determine the hostname (SNI) for the request
2444 * In the case of ProxyPreserveHost on use the hostname of
2450 ssl_hostname = r->hostname;
2457 ssl_hostname = conn->hostname;
2474 "connected %s to %s:%d", *url, conn->hostname, conn->port);
2570 backend->addr, backend->hostname);
2731 worker->s->hostname);
2744 worker->s->hostname);
2753 worker->s->hostname);
2767 worker->s->hostname);
2817 proxy_function, backend_addr->family, worker->s->hostname);
2842 worker->s->hostname);
2851 worker->s->hostname);
2885 backend_addr, worker->s->hostname);
2908 worker->s->hostname, apr_time_sec(worker->s->retry));
2995 backend_addr, conn->hostname);
3007 backend_addr, conn->hostname);
3018 proxy_function, backend_addr, conn->hostname);
3389 if (ap_strchr_c(uri->hostname, ':')) { /* if literal IPv6 address */
3391 buf = apr_pstrcat(p, "Host: [", uri->hostname, "]:",
3394 buf = apr_pstrcat(p, "Host: [", uri->hostname, "]", CRLF, NULL);
3398 buf = apr_pstrcat(p, "Host: ", uri->hostname, ":",
3401 buf = apr_pstrcat(p, "Host: ", uri->hostname, CRLF, NULL);
3406 /* don't want to use r->hostname, as the incoming header might have a
3409 const char* hostname = apr_table_get(r->headers_in,"Host");
3410 if (!hostname) {
3411 hostname = r->server->server_hostname;
3415 "forcing hostname to be %s for uri %s",
3416 hostname, r->uri);
3418 buf = apr_pstrcat(p, "Host: ", hostname, CRLF, NULL);
3450 if (server_name == r->hostname)
3521 * original request hostname was.
3634 p_conn->addr, p_conn->hostname);