Lines Matching defs:proxy_set
384 struct login_proxy_settings proxy_set;
433 i_zero(&proxy_set);
434 proxy_set.host = reply->host;
436 net_addr2ip(reply->hostip, &proxy_set.ip) < 0)
437 proxy_set.ip.family = 0;
439 if (net_addr2ip(reply->source_ip, &proxy_set.source_ip) < 0)
440 proxy_set.source_ip.family = 0;
443 proxy_set.source_ip = login_source_ips[login_source_ips_idx];
447 proxy_set.port = reply->port;
448 proxy_set.connect_timeout_msecs = reply->proxy_timeout_msecs;
449 if (proxy_set.connect_timeout_msecs == 0)
450 proxy_set.connect_timeout_msecs = PROXY_DEFAULT_TIMEOUT_MSECS;
451 proxy_set.notify_refresh_secs = reply->proxy_refresh_secs;
452 proxy_set.ssl_flags = reply->ssl_flags;
454 if (login_proxy_new(client, &proxy_set, proxy_input) < 0) {