Lines Matching defs:origin_url
47 http_url_create_host(&req->origin_url), req->target);
56 event_add_str(req->event, "host", req->origin_url.host.name);
57 event_add_int(req->event, "port", http_url_get_port(&req->origin_url));
135 req->origin_url.host.name = p_strdup(req->pool, host);
150 http_url_copy_authority(req->pool, &req->origin_url, target_url);
185 req->origin_url = *target_url;
206 req->origin_url.host.name = p_strdup(req->pool, host);
207 req->origin_url.port = port;
209 req->target = req->origin_url.host.name;
229 req->origin_url.host.ip = *ip;
371 req->origin_url.port = port;
379 req->origin_url.have_ssl = ssl;
792 authority = http_url_create_authority(&req->origin_url);
799 (http_url_create_host(&req->origin_url), req->target, NULL);
808 } else if (req->origin_url.have_ssl &&
810 req->host_url = &req->origin_url; /* tunnel to origin server */
820 req->host_url = &req->origin_url; /* origin server */
1546 const char *error, *target, *origin_url;
1594 http_url_copy(req->pool, &req->origin_url, url);
1599 origin_url = http_url_create(&req->origin_url);
1604 origin_url, target, req->redirects);
1607 req->method, origin_url, req->target);