Lines Matching full:curl
12 * are also available at https://curl.se/docs/copyright.html.
90 CURLcode curl_easy_perform_ev(CURL *easy);
102 "More details here: https://curl.se/docs/sslcerts.html\n\n" \
103 "curl failed to verify the legitimacy of the server and therefore " \
328 my_setopt(per->curl, CURLOPT_INFILESIZE_LARGE, uploadfilesize); in pre_transfer()
345 CURL *curl = per->curl; in post_per_transfer() local
348 if(!curl || !config) in post_per_transfer()
366 fprintf(global->errors, "curl: (%d) %s\n", result, in post_per_transfer()
375 curl_easy_getinfo(curl, CURLINFO_RESPONSE_CODE, &code); in post_per_transfer()
379 "curl: (%d) The requested URL returned error: %ld\n", in post_per_transfer()
386 int rc = fwrite_xattr(curl, fileno(outs->stream)); in post_per_transfer()
399 curl_easy_getinfo(curl, CURLINFO_CONDITION_UNMET, &cond_unmet); in post_per_transfer()
411 fprintf(global->errors, "curl: (%d) Failed writing body\n", result); in post_per_transfer()
440 curl_easy_getinfo(curl, CURLINFO_OS_ERRNO, &oserrno); in post_per_transfer()
451 curl_easy_getinfo(curl, CURLINFO_PROTOCOL, &protocol); in post_per_transfer()
454 curl_easy_getinfo(curl, CURLINFO_RESPONSE_CODE, &response); in post_per_transfer()
481 curl_easy_getinfo(curl, CURLINFO_RESPONSE_CODE, &response); in post_per_transfer()
482 curl_easy_getinfo(curl, CURLINFO_PROTOCOL, &protocol); in post_per_transfer()
511 curl_easy_getinfo(curl, CURLINFO_RETRY_AFTER, &retry_after); in post_per_transfer()
547 "curl: (23) Failed to truncate file\n"); in post_per_transfer()
563 "curl: (23) Failed seeking to end of file\n"); in post_per_transfer()
587 fprintf(global->errors, "curl: (%d) Failed writing body\n", result); in post_per_transfer()
595 curl_easy_getinfo(curl, CURLINFO_FILETIME_T, &filetime); in post_per_transfer()
616 curl_easy_cleanup(per->curl); in post_per_transfer()
787 CURL *curl = curl_easy_init(); in single_transfer() local
789 if(result || !curl) { in single_transfer()
790 curl_easy_cleanup(curl); in single_transfer()
797 curl_easy_cleanup(curl); in single_transfer()
804 per->curl = curl; in single_transfer()
1163 result = curl_easy_setopt(curl, CURLOPT_SHARE, share); in single_transfer()
1168 my_setopt(curl, CURLOPT_TCP_NODELAY, 0L); in single_transfer()
1171 my_setopt(curl, CURLOPT_TCP_FASTOPEN, 1L); in single_transfer()
1174 my_setopt(curl, CURLOPT_WRITEDATA, per); in single_transfer()
1175 my_setopt(curl, CURLOPT_INTERLEAVEDATA, per); in single_transfer()
1178 my_setopt(curl, CURLOPT_WRITEFUNCTION, tool_write_cb); in single_transfer()
1189 my_setopt(curl, CURLOPT_READDATA, input); in single_transfer()
1191 my_setopt(curl, CURLOPT_READFUNCTION, tool_read_cb); in single_transfer()
1195 my_setopt(curl, CURLOPT_SEEKDATA, input); in single_transfer()
1196 my_setopt(curl, CURLOPT_SEEKFUNCTION, tool_seek_cb); in single_transfer()
1201 my_setopt(curl, CURLOPT_BUFFERSIZE, (long)config->recvpersecond); in single_transfer()
1203 my_setopt(curl, CURLOPT_BUFFERSIZE, (long)BUFFER_SIZE); in single_transfer()
1205 my_setopt_str(curl, CURLOPT_URL, per->this_url); in single_transfer()
1206 my_setopt(curl, CURLOPT_NOPROGRESS, global->noprogress?1L:0L); in single_transfer()
1208 my_setopt(curl, CURLOPT_NOBODY, 1L); in single_transfer()
1211 my_setopt_str(curl, CURLOPT_XOAUTH2_BEARER, config->oauth_bearer); in single_transfer()
1214 my_setopt_str(curl, CURLOPT_PROXY, config->proxy); in single_transfer()
1217 my_setopt_enum(curl, CURLOPT_PROXYTYPE, config->proxyver); in single_transfer()
1219 my_setopt_str(curl, CURLOPT_PROXYUSERPWD, config->proxyuserpwd); in single_transfer()
1222 my_setopt(curl, CURLOPT_HTTPPROXYTUNNEL, config->proxytunnel?1L:0L); in single_transfer()
1226 my_setopt_str(curl, CURLOPT_PRE_PROXY, config->preproxy); in single_transfer()
1230 my_setopt_bitmask(curl, CURLOPT_PROXYAUTH, in single_transfer()
1233 my_setopt_bitmask(curl, CURLOPT_PROXYAUTH, in single_transfer()
1236 my_setopt_bitmask(curl, CURLOPT_PROXYAUTH, in single_transfer()
1239 my_setopt_bitmask(curl, CURLOPT_PROXYAUTH, in single_transfer()
1242 my_setopt_bitmask(curl, CURLOPT_PROXYAUTH, in single_transfer()
1246 my_setopt_str(curl, CURLOPT_NOPROXY, config->noproxy); in single_transfer()
1248 my_setopt(curl, CURLOPT_SUPPRESS_CONNECT_HEADERS, in single_transfer()
1252 my_setopt(curl, CURLOPT_FAILONERROR, config->failonerror?1L:0L); in single_transfer()
1253 my_setopt(curl, CURLOPT_REQUEST_TARGET, config->request_target); in single_transfer()
1254 my_setopt(curl, CURLOPT_UPLOAD, per->uploadfile?1L:0L); in single_transfer()
1255 my_setopt(curl, CURLOPT_DIRLISTONLY, config->dirlistonly?1L:0L); in single_transfer()
1256 my_setopt(curl, CURLOPT_APPEND, config->ftp_append?1L:0L); in single_transfer()
1259 my_setopt_enum(curl, CURLOPT_NETRC, (long)CURL_NETRC_OPTIONAL); in single_transfer()
1261 my_setopt_enum(curl, CURLOPT_NETRC, (long)CURL_NETRC_REQUIRED); in single_transfer()
1263 my_setopt_enum(curl, CURLOPT_NETRC, (long)CURL_NETRC_IGNORED); in single_transfer()
1266 my_setopt_str(curl, CURLOPT_NETRC_FILE, config->netrc_file); in single_transfer()
1268 my_setopt(curl, CURLOPT_TRANSFERTEXT, config->use_ascii?1L:0L); in single_transfer()
1270 my_setopt_str(curl, CURLOPT_LOGIN_OPTIONS, config->login_options); in single_transfer()
1271 my_setopt_str(curl, CURLOPT_USERPWD, config->userpwd); in single_transfer()
1272 my_setopt_str(curl, CURLOPT_RANGE, config->range); in single_transfer()
1273 my_setopt(curl, CURLOPT_ERRORBUFFER, per->errorbuffer); in single_transfer()
1274 my_setopt(curl, CURLOPT_TIMEOUT_MS, (long)(config->timeout * 1000)); in single_transfer()
1278 my_setopt_str(curl, CURLOPT_POSTFIELDS, in single_transfer()
1280 my_setopt(curl, CURLOPT_POSTFIELDSIZE_LARGE, in single_transfer()
1287 result = tool2curlmime(curl, config->mimeroot, &config->mimepost); in single_transfer()
1290 my_setopt_mimepost(curl, CURLOPT_MIMEPOST, config->mimepost); in single_transfer()
1300 my_setopt_bitmask(curl, CURLOPT_HTTPAUTH, (long)config->authtype); in single_transfer()
1302 my_setopt_slist(curl, CURLOPT_HTTPHEADER, config->headers); in single_transfer()
1305 my_setopt_str(curl, CURLOPT_REFERER, config->referer); in single_transfer()
1306 my_setopt_str(curl, CURLOPT_USERAGENT, config->useragent); in single_transfer()
1313 my_setopt(curl, CURLOPT_FOLLOWLOCATION, in single_transfer()
1315 my_setopt(curl, CURLOPT_UNRESTRICTED_AUTH, in single_transfer()
1318 my_setopt(curl, CURLOPT_AUTOREFERER, config->autoreferer?1L:0L); in single_transfer()
1322 my_setopt_slist(curl, CURLOPT_PROXYHEADER, config->proxyheaders); in single_transfer()
1323 my_setopt(curl, CURLOPT_HEADEROPT, CURLHEADER_SEPARATE); in single_transfer()
1327 my_setopt(curl, CURLOPT_MAXREDIRS, config->maxredirs); in single_transfer()
1330 my_setopt_enum(curl, CURLOPT_HTTP_VERSION, config->httpversion); in single_transfer()
1332 my_setopt_enum(curl, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_2TLS); in single_transfer()
1335 /* curl 7.19.1 (the 301 version existed in 7.18.2), in single_transfer()
1343 my_setopt(curl, CURLOPT_POSTREDIR, postRedir); in single_transfer()
1347 my_setopt_str(curl, CURLOPT_ACCEPT_ENCODING, ""); in single_transfer()
1351 my_setopt(curl, CURLOPT_TRANSFER_ENCODING, 1L); in single_transfer()
1353 my_setopt(curl, CURLOPT_HTTP09_ALLOWED, in single_transfer()
1362 my_setopt_str(curl, CURLOPT_FTPPORT, config->ftpport); in single_transfer()
1363 my_setopt(curl, CURLOPT_LOW_SPEED_LIMIT, in single_transfer()
1365 my_setopt(curl, CURLOPT_LOW_SPEED_TIME, config->low_speed_time); in single_transfer()
1366 my_setopt(curl, CURLOPT_MAX_SEND_SPEED_LARGE, in single_transfer()
1368 my_setopt(curl, CURLOPT_MAX_RECV_SPEED_LARGE, in single_transfer()
1372 my_setopt(curl, CURLOPT_RESUME_FROM_LARGE, config->resume_from); in single_transfer()
1374 my_setopt(curl, CURLOPT_RESUME_FROM_LARGE, CURL_OFF_T_C(0)); in single_transfer()
1376 my_setopt_str(curl, CURLOPT_KEYPASSWD, config->key_passwd); in single_transfer()
1377 my_setopt_str(curl, CURLOPT_PROXY_KEYPASSWD, config->proxy_key_passwd); in single_transfer()
1383 my_setopt_str(curl, CURLOPT_SSH_PRIVATE_KEYFILE, config->key); in single_transfer()
1385 my_setopt_str(curl, CURLOPT_SSH_PUBLIC_KEYFILE, config->pubkey); in single_transfer()
1389 my_setopt_str(curl, CURLOPT_SSH_HOST_PUBLIC_KEY_MD5, in single_transfer()
1394 my_setopt(curl, CURLOPT_SSH_COMPRESSION, 1L); in single_transfer()
1398 my_setopt_str(curl, CURLOPT_CAINFO, config->cacert); in single_transfer()
1400 my_setopt_str(curl, CURLOPT_PROXY_CAINFO, config->proxy_cacert); in single_transfer()
1403 result = res_setopt_str(curl, CURLOPT_CAPATH, config->capath); in single_transfer()
1416 result = res_setopt_str(curl, CURLOPT_PROXY_CAPATH, in single_transfer()
1431 my_setopt_str(curl, CURLOPT_CRLFILE, config->crlfile); in single_transfer()
1433 my_setopt_str(curl, CURLOPT_PROXY_CRLFILE, config->proxy_crlfile); in single_transfer()
1435 my_setopt_str(curl, CURLOPT_PROXY_CRLFILE, config->crlfile); in single_transfer()
1438 my_setopt_str(curl, CURLOPT_PINNEDPUBLICKEY, config->pinnedpubkey); in single_transfer()
1441 my_setopt_str(curl, CURLOPT_SSL_EC_CURVES, config->ssl_ec_curves); in single_transfer()
1484 /* In debug build of curl tool, using in single_transfer()
1516 my_setopt_str(curl, CURLOPT_SSLCERT_BLOB, &structblob); in single_transfer()
1525 my_setopt_str(curl, CURLOPT_SSLCERT, config->cert); in single_transfer()
1526 my_setopt_str(curl, CURLOPT_PROXY_SSLCERT, config->proxy_cert); in single_transfer()
1527 my_setopt_str(curl, CURLOPT_SSLCERTTYPE, config->cert_type); in single_transfer()
1528 my_setopt_str(curl, CURLOPT_PROXY_SSLCERTTYPE, in single_transfer()
1559 my_setopt_str(curl, CURLOPT_SSLKEY_BLOB, &structblob); in single_transfer()
1568 my_setopt_str(curl, CURLOPT_SSLKEY, config->key); in single_transfer()
1569 my_setopt_str(curl, CURLOPT_PROXY_SSLKEY, config->proxy_key); in single_transfer()
1570 my_setopt_str(curl, CURLOPT_SSLKEYTYPE, config->key_type); in single_transfer()
1571 my_setopt_str(curl, CURLOPT_PROXY_SSLKEYTYPE, in single_transfer()
1573 my_setopt_str(curl, CURLOPT_AWS_SIGV4, in single_transfer()
1577 my_setopt(curl, CURLOPT_SSL_VERIFYPEER, 0L); in single_transfer()
1578 my_setopt(curl, CURLOPT_SSL_VERIFYHOST, 0L); in single_transfer()
1581 my_setopt(curl, CURLOPT_SSL_VERIFYPEER, 1L); in single_transfer()
1583 /* my_setopt(curl, CURLOPT_SSL_VERIFYHOST, 2L); */ in single_transfer()
1587 my_setopt(curl, CURLOPT_DOH_SSL_VERIFYPEER, 0L); in single_transfer()
1588 my_setopt(curl, CURLOPT_DOH_SSL_VERIFYHOST, 0L); in single_transfer()
1592 my_setopt(curl, CURLOPT_PROXY_SSL_VERIFYPEER, 0L); in single_transfer()
1593 my_setopt(curl, CURLOPT_PROXY_SSL_VERIFYHOST, 0L); in single_transfer()
1596 my_setopt(curl, CURLOPT_PROXY_SSL_VERIFYPEER, 1L); in single_transfer()
1600 my_setopt(curl, CURLOPT_SSL_VERIFYSTATUS, 1L); in single_transfer()
1603 my_setopt(curl, CURLOPT_DOH_SSL_VERIFYSTATUS, 1L); in single_transfer()
1606 my_setopt(curl, CURLOPT_SSL_FALSESTART, 1L); in single_transfer()
1608 my_setopt_enum(curl, CURLOPT_SSLVERSION, in single_transfer()
1610 my_setopt_enum(curl, CURLOPT_PROXY_SSLVERSION, in single_transfer()
1627 my_setopt_bitmask(curl, CURLOPT_SSL_OPTIONS, mask); in single_transfer()
1638 my_setopt_bitmask(curl, CURLOPT_PROXY_SSL_OPTIONS, mask); in single_transfer()
1643 my_setopt(curl, CURLOPT_PATH_AS_IS, 1L); in single_transfer()
1651 /* new in curl 7.19.6 */ in single_transfer()
1652 result = res_setopt_str(curl, CURLOPT_SSH_KNOWNHOSTS, file); in single_transfer()
1668 my_setopt(curl, CURLOPT_FILETIME, 1L); in single_transfer()
1671 my_setopt(curl, CURLOPT_CRLF, config->crlf?1L:0L); in single_transfer()
1672 my_setopt_slist(curl, CURLOPT_QUOTE, config->quote); in single_transfer()
1673 my_setopt_slist(curl, CURLOPT_POSTQUOTE, config->postquote); in single_transfer()
1674 my_setopt_slist(curl, CURLOPT_PREQUOTE, config->prequote); in single_transfer()
1695 my_setopt_str(curl, CURLOPT_COOKIE, curlx_dyn_ptr(&cookies)); in single_transfer()
1703 my_setopt_str(curl, CURLOPT_COOKIEFILE, cfl->data); in single_transfer()
1708 my_setopt_str(curl, CURLOPT_COOKIEJAR, config->cookiejar); in single_transfer()
1711 my_setopt(curl, CURLOPT_COOKIESESSION, config->cookiesession?1L:0L); in single_transfer()
1713 my_setopt_enum(curl, CURLOPT_TIMECONDITION, (long)config->timecond); in single_transfer()
1714 my_setopt(curl, CURLOPT_TIMEVALUE_LARGE, config->condtime); in single_transfer()
1715 my_setopt_str(curl, CURLOPT_CUSTOMREQUEST, config->customrequest); in single_transfer()
1717 my_setopt(curl, CURLOPT_STDERR, global->errors); in single_transfer()
1720 my_setopt_str(curl, CURLOPT_INTERFACE, config->iface); in single_transfer()
1721 my_setopt_str(curl, CURLOPT_KRBLEVEL, config->krblevel); in single_transfer()
1728 my_setopt(curl, CURLOPT_XFERINFOFUNCTION, tool_progress_cb); in single_transfer()
1729 my_setopt(curl, CURLOPT_XFERINFODATA, per); in single_transfer()
1734 my_setopt(curl, CURLOPT_NOPROGRESS, 0L); in single_transfer()
1735 my_setopt(curl, CURLOPT_XFERINFOFUNCTION, tool_readbusy_cb); in single_transfer()
1736 my_setopt(curl, CURLOPT_XFERINFODATA, per); in single_transfer()
1741 my_setopt_str(curl, CURLOPT_DNS_SERVERS, config->dns_servers); in single_transfer()
1745 my_setopt_str(curl, CURLOPT_DNS_INTERFACE, config->dns_interface); in single_transfer()
1747 my_setopt_str(curl, CURLOPT_DNS_LOCAL_IP4, config->dns_ipv4_addr); in single_transfer()
1749 my_setopt_str(curl, CURLOPT_DNS_LOCAL_IP6, config->dns_ipv6_addr); in single_transfer()
1752 my_setopt_slist(curl, CURLOPT_TELNETOPTIONS, config->telnet_options); in single_transfer()
1755 my_setopt_str(curl, CURLOPT_RANDOM_FILE, config->random_file); in single_transfer()
1756 my_setopt_str(curl, CURLOPT_EGDSOCKET, config->egd_file); in single_transfer()
1757 my_setopt(curl, CURLOPT_CONNECTTIMEOUT_MS, in single_transfer()
1761 my_setopt_str(curl, CURLOPT_DOH_URL, config->doh_url); in single_transfer()
1764 my_setopt_str(curl, CURLOPT_SSL_CIPHER_LIST, config->cipher_list); in single_transfer()
1767 my_setopt_str(curl, CURLOPT_PROXY_SSL_CIPHER_LIST, in single_transfer()
1771 my_setopt_str(curl, CURLOPT_TLS13_CIPHERS, config->cipher13_list); in single_transfer()
1774 my_setopt_str(curl, CURLOPT_PROXY_TLS13_CIPHERS, in single_transfer()
1780 my_setopt(curl, CURLOPT_FTP_USE_EPSV, 0L); in single_transfer()
1785 my_setopt(curl, CURLOPT_FTP_USE_EPRT, 0L); in single_transfer()
1788 my_setopt(curl, CURLOPT_DEBUGFUNCTION, tool_debug_cb); in single_transfer()
1789 my_setopt(curl, CURLOPT_DEBUGDATA, config); in single_transfer()
1790 my_setopt(curl, CURLOPT_VERBOSE, 1L); in single_transfer()
1793 /* new in curl 7.9.3 */ in single_transfer()
1795 result = res_setopt_str(curl, CURLOPT_SSLENGINE, config->engine); in single_transfer()
1800 /* new in curl 7.10.7, extended in 7.19.4. Modified to use in single_transfer()
1802 my_setopt(curl, CURLOPT_FTP_CREATE_MISSING_DIRS, in single_transfer()
1807 /* new in curl 7.10.8 */ in single_transfer()
1809 my_setopt(curl, CURLOPT_MAXFILESIZE_LARGE, in single_transfer()
1812 my_setopt(curl, CURLOPT_IPRESOLVE, config->ip_version); in single_transfer()
1814 /* new in curl 7.15.5 */ in single_transfer()
1816 my_setopt_enum(curl, CURLOPT_USE_SSL, (long)CURLUSESSL_ALL); in single_transfer()
1818 /* new in curl 7.11.0 */ in single_transfer()
1820 my_setopt_enum(curl, CURLOPT_USE_SSL, (long)CURLUSESSL_TRY); in single_transfer()
1822 /* new in curl 7.16.0 */ in single_transfer()
1824 my_setopt_enum(curl, CURLOPT_USE_SSL, (long)CURLUSESSL_CONTROL); in single_transfer()
1826 /* new in curl 7.16.1 */ in single_transfer()
1828 my_setopt_enum(curl, CURLOPT_FTP_SSL_CCC, in single_transfer()
1831 /* new in curl 7.19.4 */ in single_transfer()
1833 my_setopt_str(curl, CURLOPT_SOCKS5_GSSAPI_NEC, in single_transfer()
1836 /* new in curl 7.55.0 */ in single_transfer()
1838 my_setopt_bitmask(curl, CURLOPT_SOCKS5_AUTH, in single_transfer()
1841 /* new in curl 7.43.0 */ in single_transfer()
1843 my_setopt_str(curl, CURLOPT_PROXY_SERVICE_NAME, in single_transfer()
1846 /* new in curl 7.43.0 */ in single_transfer()
1848 my_setopt_str(curl, CURLOPT_SERVICE_NAME, in single_transfer()
1851 /* curl 7.13.0 */ in single_transfer()
1852 my_setopt_str(curl, CURLOPT_FTP_ACCOUNT, config->ftp_account); in single_transfer()
1853 my_setopt(curl, CURLOPT_IGNORE_CONTENT_LENGTH, config->ignorecl?1L:0L); in single_transfer()
1855 /* curl 7.14.2 */ in single_transfer()
1856 my_setopt(curl, CURLOPT_FTP_SKIP_PASV_IP, config->ftp_skip_ip?1L:0L); in single_transfer()
1858 /* curl 7.15.1 */ in single_transfer()
1859 my_setopt(curl, CURLOPT_FTP_FILEMETHOD, (long)config->ftp_filemethod); in single_transfer()
1861 /* curl 7.15.2 */ in single_transfer()
1863 my_setopt(curl, CURLOPT_LOCALPORT, config->localport); in single_transfer()
1864 my_setopt_str(curl, CURLOPT_LOCALPORTRANGE, config->localportrange); in single_transfer()
1867 /* curl 7.15.5 */ in single_transfer()
1868 my_setopt_str(curl, CURLOPT_FTP_ALTERNATIVE_TO_USER, in single_transfer()
1871 /* curl 7.16.0 */ in single_transfer()
1874 my_setopt(curl, CURLOPT_SSL_SESSIONID_CACHE, 0L); in single_transfer()
1876 /* curl 7.16.2 */ in single_transfer()
1878 my_setopt(curl, CURLOPT_HTTP_CONTENT_DECODING, 0L); in single_transfer()
1879 my_setopt(curl, CURLOPT_HTTP_TRANSFER_DECODING, 0L); in single_transfer()
1882 /* curl 7.17.1 */ in single_transfer()
1884 my_setopt(curl, CURLOPT_TCP_KEEPALIVE, 1L); in single_transfer()
1886 my_setopt(curl, CURLOPT_TCP_KEEPIDLE, config->alivetime); in single_transfer()
1887 my_setopt(curl, CURLOPT_TCP_KEEPINTVL, config->alivetime); in single_transfer()
1891 my_setopt(curl, CURLOPT_TCP_KEEPALIVE, 0L); in single_transfer()
1893 /* curl 7.20.0 */ in single_transfer()
1895 my_setopt(curl, CURLOPT_TFTP_BLKSIZE, config->tftp_blksize); in single_transfer()
1898 my_setopt_str(curl, CURLOPT_MAIL_FROM, config->mail_from); in single_transfer()
1901 my_setopt_slist(curl, CURLOPT_MAIL_RCPT, config->mail_rcpt); in single_transfer()
1903 /* curl 7.69.x */ in single_transfer()
1904 my_setopt(curl, CURLOPT_MAIL_RCPT_ALLLOWFAILS, in single_transfer()
1907 /* curl 7.20.x */ in single_transfer()
1909 my_setopt(curl, CURLOPT_FTP_USE_PRET, 1L); in single_transfer()
1912 my_setopt(curl, CURLOPT_NEW_FILE_PERMS, config->create_file_mode); in single_transfer()
1915 my_setopt_flags(curl, CURLOPT_PROTOCOLS, config->proto); in single_transfer()
1917 my_setopt_flags(curl, CURLOPT_REDIR_PROTOCOLS, config->proto_redir); in single_transfer()
1931 my_setopt(curl, CURLOPT_HEADERFUNCTION, tool_header_cb); in single_transfer()
1932 my_setopt(curl, CURLOPT_HEADERDATA, per); in single_transfer()
1936 my_setopt_slist(curl, CURLOPT_RESOLVE, config->resolve); in single_transfer()
1940 my_setopt_slist(curl, CURLOPT_CONNECT_TO, config->connect_to); in single_transfer()
1945 my_setopt_str(curl, CURLOPT_TLSAUTH_USERNAME, in single_transfer()
1948 my_setopt_str(curl, CURLOPT_TLSAUTH_PASSWORD, in single_transfer()
1951 my_setopt_str(curl, CURLOPT_TLSAUTH_TYPE, in single_transfer()
1954 my_setopt_str(curl, CURLOPT_PROXY_TLSAUTH_USERNAME, in single_transfer()
1957 my_setopt_str(curl, CURLOPT_PROXY_TLSAUTH_PASSWORD, in single_transfer()
1960 my_setopt_str(curl, CURLOPT_PROXY_TLSAUTH_TYPE, in single_transfer()
1966 my_setopt_str(curl, CURLOPT_GSSAPI_DELEGATION, in single_transfer()
1970 my_setopt_str(curl, CURLOPT_MAIL_AUTH, config->mail_auth); in single_transfer()
1974 my_setopt_str(curl, CURLOPT_SASL_AUTHZID, config->sasl_authzid); in single_transfer()
1978 my_setopt(curl, CURLOPT_SASL_IR, 1L); in single_transfer()
1981 my_setopt(curl, CURLOPT_SSL_ENABLE_NPN, 0L); in single_transfer()
1985 my_setopt(curl, CURLOPT_SSL_ENABLE_ALPN, 0L); in single_transfer()
1991 my_setopt_str(curl, CURLOPT_ABSTRACT_UNIX_SOCKET, in single_transfer()
1995 my_setopt_str(curl, CURLOPT_UNIX_SOCKET_PATH, in single_transfer()
2002 my_setopt_str(curl, CURLOPT_DEFAULT_PROTOCOL, config->proto_default); in single_transfer()
2006 my_setopt_str(curl, CURLOPT_EXPECT_100_TIMEOUT_MS, in single_transfer()
2011 my_setopt(curl, CURLOPT_TFTP_NO_OPTIONS, 1L); in single_transfer()
2015 my_setopt(curl, CURLOPT_HAPPY_EYEBALLS_TIMEOUT_MS, in single_transfer()
2020 my_setopt(curl, CURLOPT_HAPROXYPROTOCOL, 1L); in single_transfer()
2023 my_setopt(curl, CURLOPT_DISALLOW_USERNAME_IN_URL, 1L); in single_transfer()
2026 my_setopt_str(curl, CURLOPT_ALTSVC, config->altsvc); in single_transfer()
2029 my_setopt_str(curl, CURLOPT_HSTS, config->hsts); in single_transfer()
2121 (void)curl_easy_setopt(per->curl, CURLOPT_PIPEWAIT, in add_parallel_transfers()
2123 (void)curl_easy_setopt(per->curl, CURLOPT_PRIVATE, per); in add_parallel_transfers()
2124 (void)curl_easy_setopt(per->curl, CURLOPT_XFERINFOFUNCTION, xferinfo_cb); in add_parallel_transfers()
2125 (void)curl_easy_setopt(per->curl, CURLOPT_XFERINFODATA, per); in add_parallel_transfers()
2127 mcode = curl_multi_add_handle(multi, per->curl); in add_parallel_transfers()
2182 CURL *easy = msg->easy_handle; in parallel_transfers()
2267 result = curl_easy_perform_ev(per->curl); in serial_transfers()
2270 result = curl_easy_perform(per->curl); in serial_transfers()
2319 /* On WIN32 we can't set the path to curl-ca-bundle.crt in transfer_per_config()
2332 CURL *curltls = curl_easy_init(); in transfer_per_config()
2346 * default filename curl-ca-bundle.crt in the user's PATH. in transfer_per_config()
2392 TEXT("curl-ca-bundle.crt")); in transfer_per_config()