Lines Matching refs:protocol
193 const char *protocol; member
542 h->protocol = P_HTTP; in parse_url()
550 h->protocol = P_FTP; in parse_url()
556 h->protocol = P_FTPS; in parse_url()
562 h->protocol = P_HTTPS; in parse_url()
834 if (target->protocol == P_FTPS) in prepare_ftp_session()
890 if (target->protocol == P_FTPS) { in prepare_ftp_session()
1119 char *proxy = getenv(target.protocol[0] == 'f' ? "ftp_proxy" : "http_proxy"); in download_one_url()
1126 server.protocol = target.protocol; in download_one_url()
1181 if (use_proxy || target.protocol[0] != 'f' /*not ftp[s]*/) { in download_one_url()
1191 if (server.protocol == P_HTTPS) { in download_one_url()
1215 if (server.protocol == P_HTTPS) in download_one_url()
1224 target.protocol, target.host, in download_one_url()
1292 if (target.protocol == P_HTTPS) { in download_one_url()
1433 server.protocol = target.protocol; in download_one_url()