/* Specific normal proxy */
req->host_socket = NULL;
} else if (req->origin_url.have_ssl &&
- client->set->ssl_tunnel &&
+ client->set->proxy_ssl_tunnel &&
!req->connect_tunnel) {
/* Tunnel to origin server */
req->host_url = &req->origin_url;
DEF(BOOL_HIDDEN, auto_redirect),
DEF(BOOL_HIDDEN, auto_retry),
- DEF(BOOL, ssl_tunnel),
+ DEF(BOOL, proxy_ssl_tunnel),
DEF(UINT, request_max_redirects),
DEF(UINT, request_max_attempts),
.auto_redirect = TRUE,
.auto_retry = TRUE,
- .ssl_tunnel = TRUE,
+ .proxy_ssl_tunnel = TRUE,
.request_max_redirects = 0,
.request_max_attempts = 1,
HTTP_CLIENT_DEFAULT_REQUEST_TIMEOUT_MSECS;
set_r->auto_redirect = TRUE;
set_r->auto_retry = TRUE;
- set_r->ssl_tunnel = TRUE;
+ set_r->proxy_ssl_tunnel = TRUE;
}
struct http_client *
/* FALSE = If we use a proxy, delegate SSL negotiation to proxy, rather
than creating a CONNECT tunnel through the proxy for the SSL link */
- bool ssl_tunnel;
+ bool proxy_ssl_tunnel;
/* Maximum number of redirects for a request
(default = 0; redirects result in