Lines Matching defs:host_url
578 req->host_url = http_url_clone_authority(req->pool, proxy_url);
589 req->host_url = NULL;
784 (req->host_socket != NULL) || (req->host_url != NULL);
805 req->host_url = NULL;
806 } else if (req->host_url != NULL) { /* specific normal proxy */
810 req->host_url = &req->origin_url; /* tunnel to origin server */
814 req->host_url = NULL;
816 req->host_url = proxy_url; /* normal proxy server */
820 req->host_url = &req->origin_url; /* origin server */
855 host = http_client_host_get(client, req->host_url);
882 const struct http_url *host_url = req->host_url;
893 addr->a.tcp.ip = host_url->host.ip;
895 http_url_get_port_default(host_url, HTTPS_DEFAULT_PORT);
896 } else if (host_url->have_ssl) {
901 addr->a.tcp.ip = host_url->host.ip;
902 addr->a.tcp.https_name = host_url->host.name;
903 addr->a.tcp.port = http_url_get_port(host_url);
906 addr->a.tcp.ip = host_url->host.ip;
907 addr->a.tcp.port = http_url_get_port(host_url);