• Home
  • Raw
  • Download

Lines Matching refs:set

173     data->set.dns_cache_timeout = arg;  in Curl_vsetopt()
180 result = Curl_setstropt(&data->set.str[STRING_SSL_CIPHER_LIST], in Curl_vsetopt()
186 result = Curl_setstropt(&data->set.str[STRING_SSL_CIPHER_LIST_PROXY], in Curl_vsetopt()
193 result = Curl_setstropt(&data->set.str[STRING_SSL_CIPHER13_LIST], in Curl_vsetopt()
203 result = Curl_setstropt(&data->set.str[STRING_SSL_CIPHER13_LIST_PROXY], in Curl_vsetopt()
215 result = Curl_setstropt(&data->set.str[STRING_SSL_RANDOM_FILE], in Curl_vsetopt()
222 result = Curl_setstropt(&data->set.str[STRING_SSL_EGDSOCKET], in Curl_vsetopt()
233 data->set.maxconnects = arg; in Curl_vsetopt()
240 data->set.reuse_forbid = (0 != va_arg(param, long)) ? TRUE : FALSE; in Curl_vsetopt()
247 data->set.reuse_fresh = (0 != va_arg(param, long)) ? TRUE : FALSE; in Curl_vsetopt()
254 data->set.verbose = (0 != va_arg(param, long)) ? TRUE : FALSE; in Curl_vsetopt()
260 data->set.include_header = (0 != va_arg(param, long)) ? TRUE : FALSE; in Curl_vsetopt()
266 data->set.hide_progress = (0 != va_arg(param, long)) ? TRUE : FALSE; in Curl_vsetopt()
267 if(data->set.hide_progress) in Curl_vsetopt()
276 data->set.opt_no_body = (0 != va_arg(param, long)) ? TRUE : FALSE; in Curl_vsetopt()
278 if(data->set.opt_no_body) in Curl_vsetopt()
280 data->set.method = HTTPREQ_HEAD; in Curl_vsetopt()
281 else if(data->set.method == HTTPREQ_HEAD) in Curl_vsetopt()
282 data->set.method = HTTPREQ_GET; in Curl_vsetopt()
290 data->set.http_fail_on_error = (0 != va_arg(param, long)) ? TRUE : FALSE; in Curl_vsetopt()
293 data->set.http_keep_sending_on_error = (0 != va_arg(param, long)) ? in Curl_vsetopt()
302 data->set.upload = (0 != va_arg(param, long)) ? TRUE : FALSE; in Curl_vsetopt()
303 if(data->set.upload) { in Curl_vsetopt()
305 data->set.method = HTTPREQ_PUT; in Curl_vsetopt()
306 data->set.opt_no_body = FALSE; /* this is implied */ in Curl_vsetopt()
311 data->set.method = HTTPREQ_GET; in Curl_vsetopt()
314 result = Curl_setstropt(&data->set.str[STRING_TARGET], in Curl_vsetopt()
322 data->set.get_filetime = (0 != va_arg(param, long)) ? TRUE : FALSE; in Curl_vsetopt()
331 data->set.server_response_timeout = arg * 1000; in Curl_vsetopt()
341 data->set.tftp_no_options = va_arg(param, long) != 0; in Curl_vsetopt()
350 data->set.tftp_blksize = arg; in Curl_vsetopt()
361 data->set.use_netrc = (enum CURL_NETRC_OPTION)arg; in Curl_vsetopt()
367 result = Curl_setstropt(&data->set.str[STRING_NETRC_FILE], in Curl_vsetopt()
378 data->set.prefer_ascii = (0 != va_arg(param, long)) ? TRUE : FALSE; in Curl_vsetopt()
388 data->set.timecondition = (curl_TimeCond)arg; in Curl_vsetopt()
395 data->set.timevalue = (time_t)va_arg(param, long); in Curl_vsetopt()
403 data->set.timevalue = (time_t)va_arg(param, curl_off_t); in Curl_vsetopt()
417 struct ssl_primary_config *primary = &data->set.ssl.primary; in Curl_vsetopt()
420 primary = &data->set.proxy_ssl.primary; in Curl_vsetopt()
454 if(!argptr || data->set.postfieldsize == -1) in Curl_vsetopt()
455 result = Curl_setstropt(&data->set.str[STRING_COPYPOSTFIELDS], argptr); in Curl_vsetopt()
461 if((data->set.postfieldsize < 0) || in Curl_vsetopt()
463 (data->set.postfieldsize > (curl_off_t)((size_t)-1)))) in Curl_vsetopt()
468 (void) Curl_setstropt(&data->set.str[STRING_COPYPOSTFIELDS], NULL); in Curl_vsetopt()
475 p = malloc((size_t)(data->set.postfieldsize? in Curl_vsetopt()
476 data->set.postfieldsize:1)); in Curl_vsetopt()
481 if(data->set.postfieldsize) in Curl_vsetopt()
482 memcpy(p, argptr, (size_t)data->set.postfieldsize); in Curl_vsetopt()
484 data->set.str[STRING_COPYPOSTFIELDS] = p; in Curl_vsetopt()
489 data->set.postfields = data->set.str[STRING_COPYPOSTFIELDS]; in Curl_vsetopt()
490 data->set.method = HTTPREQ_POST; in Curl_vsetopt()
497 data->set.postfields = va_arg(param, void *); in Curl_vsetopt()
499 (void) Curl_setstropt(&data->set.str[STRING_COPYPOSTFIELDS], NULL); in Curl_vsetopt()
500 data->set.method = HTTPREQ_POST; in Curl_vsetopt()
512 if(data->set.postfieldsize < bigsize && in Curl_vsetopt()
513 data->set.postfields == data->set.str[STRING_COPYPOSTFIELDS]) { in Curl_vsetopt()
515 (void) Curl_setstropt(&data->set.str[STRING_COPYPOSTFIELDS], NULL); in Curl_vsetopt()
516 data->set.postfields = NULL; in Curl_vsetopt()
519 data->set.postfieldsize = bigsize; in Curl_vsetopt()
531 if(data->set.postfieldsize < bigsize && in Curl_vsetopt()
532 data->set.postfields == data->set.str[STRING_COPYPOSTFIELDS]) { in Curl_vsetopt()
534 (void) Curl_setstropt(&data->set.str[STRING_COPYPOSTFIELDS], NULL); in Curl_vsetopt()
535 data->set.postfields = NULL; in Curl_vsetopt()
538 data->set.postfieldsize = bigsize; in Curl_vsetopt()
546 data->set.http_auto_referer = (0 != va_arg(param, long)) ? TRUE : FALSE; in Curl_vsetopt()
565 result = Curl_setstropt(&data->set.str[STRING_ENCODING], argptr); in Curl_vsetopt()
570 result = Curl_setstropt(&data->set.str[STRING_ENCODING], argptr); in Curl_vsetopt()
574 data->set.http_transfer_encoding = (0 != va_arg(param, long)) ? in Curl_vsetopt()
582 data->set.http_follow_location = (0 != va_arg(param, long)) ? TRUE : FALSE; in Curl_vsetopt()
590 data->set.allow_auth_to_other_hosts = in Curl_vsetopt()
602 data->set.maxredirs = arg; in Curl_vsetopt()
620 data->set.keep_post = arg & CURL_REDIR_POST_ALL; in Curl_vsetopt()
628 data->set.method = HTTPREQ_POST; in Curl_vsetopt()
629 data->set.opt_no_body = FALSE; /* this is implied */ in Curl_vsetopt()
632 data->set.method = HTTPREQ_GET; in Curl_vsetopt()
633 data->set.upload = FALSE; in Curl_vsetopt()
640 data->set.httppost = va_arg(param, struct curl_httppost *); in Curl_vsetopt()
641 data->set.method = HTTPREQ_POST_FORM; in Curl_vsetopt()
642 data->set.opt_no_body = FALSE; /* this is implied */ in Curl_vsetopt()
650 result = Curl_setstropt(&data->set.str[STRING_AWS_SIGV4], in Curl_vsetopt()
655 if(data->set.str[STRING_AWS_SIGV4]) in Curl_vsetopt()
656 data->set.httpauth = CURLAUTH_AWS_SIGV4; in Curl_vsetopt()
663 result = Curl_mime_set_subparts(&data->set.mimepost, in Curl_vsetopt()
666 data->set.method = HTTPREQ_POST_MIME; in Curl_vsetopt()
667 data->set.opt_no_body = FALSE; /* this is implied */ in Curl_vsetopt()
679 result = Curl_setstropt(&data->set.str[STRING_SET_REFERER], in Curl_vsetopt()
681 data->state.referer = data->set.str[STRING_SET_REFERER]; in Curl_vsetopt()
688 result = Curl_setstropt(&data->set.str[STRING_USERAGENT], in Curl_vsetopt()
696 data->set.headers = va_arg(param, struct curl_slist *); in Curl_vsetopt()
711 data->set.proxyheaders = va_arg(param, struct curl_slist *); in Curl_vsetopt()
719 data->set.sep_headers = (bool)((arg & CURLHEADER_SEPARATE)? TRUE: FALSE); in Curl_vsetopt()
726 data->set.http200aliases = va_arg(param, struct curl_slist *); in Curl_vsetopt()
734 result = Curl_setstropt(&data->set.str[STRING_COOKIE], in Curl_vsetopt()
780 result = Curl_setstropt(&data->set.str[STRING_COOKIEJAR], in Curl_vsetopt()
788 data->set.cookiesession); in Curl_vsetopt()
811 data->set.cookiesession = (0 != va_arg(param, long)) ? TRUE : FALSE; in Curl_vsetopt()
880 data->set.method = HTTPREQ_GET; in Curl_vsetopt()
881 data->set.upload = FALSE; /* switch off upload */ in Curl_vsetopt()
882 data->set.opt_no_body = FALSE; /* this is implied */ in Curl_vsetopt()
908 data->set.httpwant = (unsigned char)arg; in Curl_vsetopt()
919 data->set.expect_100_timeout = arg; in Curl_vsetopt()
931 data->set.http09_allowed = arg ? TRUE : FALSE; in Curl_vsetopt()
946 data->set.httpauth = auth; in Curl_vsetopt()
984 data->set.httpauth = auth; in Curl_vsetopt()
992 result = Curl_setstropt(&data->set.str[STRING_CUSTOMREQUEST], in Curl_vsetopt()
1006 data->set.tunnel_thru_httpproxy = (0 != va_arg(param, long)) ? in Curl_vsetopt()
1017 data->set.proxyport = arg; in Curl_vsetopt()
1030 data->set.proxyauth = auth; in Curl_vsetopt()
1067 data->set.proxyauth = auth; in Curl_vsetopt()
1082 result = Curl_setstropt(&data->set.str[STRING_PROXY], in Curl_vsetopt()
1093 result = Curl_setstropt(&data->set.str[STRING_PRE_PROXY], in Curl_vsetopt()
1104 data->set.proxytype = (curl_proxytype)arg; in Curl_vsetopt()
1113 data->set.proxy_transfer_mode = FALSE; in Curl_vsetopt()
1116 data->set.proxy_transfer_mode = TRUE; in Curl_vsetopt()
1127 data->set.socks5auth = va_arg(param, unsigned long); in Curl_vsetopt()
1128 if(data->set.socks5auth & ~(CURLAUTH_BASIC | CURLAUTH_GSSAPI)) in Curl_vsetopt()
1136 data->set.socks5_gssapi_nec = (0 != va_arg(param, long)) ? TRUE : FALSE; in Curl_vsetopt()
1145 result = Curl_setstropt(&data->set.str[STRING_PROXY_SERVICE_NAME], in Curl_vsetopt()
1153 result = Curl_setstropt(&data->set.str[STRING_SERVICE_NAME], in Curl_vsetopt()
1161 data->set.writeheader = (void *)va_arg(param, void *); in Curl_vsetopt()
1168 data->set.errorbuffer = va_arg(param, char *); in Curl_vsetopt()
1175 data->set.out = va_arg(param, void *); in Curl_vsetopt()
1183 data->set.list_only = (0 != va_arg(param, long)) ? TRUE : FALSE; in Curl_vsetopt()
1191 data->set.remote_append = (0 != va_arg(param, long)) ? TRUE : FALSE; in Curl_vsetopt()
1202 data->set.ftp_filemethod = (curl_ftpfile)arg; in Curl_vsetopt()
1208 result = Curl_setstropt(&data->set.str[STRING_FTPPORT], in Curl_vsetopt()
1210 data->set.ftp_use_port = (data->set.str[STRING_FTPPORT]) ? TRUE : FALSE; in Curl_vsetopt()
1214 data->set.ftp_use_eprt = (0 != va_arg(param, long)) ? TRUE : FALSE; in Curl_vsetopt()
1218 data->set.ftp_use_epsv = (0 != va_arg(param, long)) ? TRUE : FALSE; in Curl_vsetopt()
1222 data->set.ftp_use_pret = (0 != va_arg(param, long)) ? TRUE : FALSE; in Curl_vsetopt()
1229 data->set.ftp_ccc = (curl_ftpccc)arg; in Curl_vsetopt()
1237 data->set.ftp_skip_ip = (0 != va_arg(param, long)) ? TRUE : FALSE; in Curl_vsetopt()
1241 result = Curl_setstropt(&data->set.str[STRING_FTP_ACCOUNT], in Curl_vsetopt()
1246 result = Curl_setstropt(&data->set.str[STRING_FTP_ALTERNATIVE_TO_USER], in Curl_vsetopt()
1257 data->set.ftpsslauth = (curl_ftpauth)arg; in Curl_vsetopt()
1263 result = Curl_setstropt(&data->set.str[STRING_KRB_LEVEL], in Curl_vsetopt()
1265 data->set.krb = (data->set.str[STRING_KRB_LEVEL]) ? TRUE : FALSE; in Curl_vsetopt()
1279 data->set.ftp_create_missing_dirs = (int)arg; in Curl_vsetopt()
1286 data->set.in_set = va_arg(param, void *); in Curl_vsetopt()
1296 data->set.filesize = arg; in Curl_vsetopt()
1306 data->set.filesize = bigsize; in Curl_vsetopt()
1316 data->set.low_speed_limit = arg; in Curl_vsetopt()
1326 data->set.max_send_speed = bigsize; in Curl_vsetopt()
1336 data->set.max_recv_speed = bigsize; in Curl_vsetopt()
1346 data->set.low_speed_time = arg; in Curl_vsetopt()
1352 data->set.uh = va_arg(param, CURLU *); in Curl_vsetopt()
1363 result = Curl_setstropt(&data->set.str[STRING_SET_URL], in Curl_vsetopt()
1365 data->state.url = data->set.str[STRING_SET_URL]; in Curl_vsetopt()
1374 data->set.use_port = arg; in Curl_vsetopt()
1383 data->set.timeout = arg * 1000; in Curl_vsetopt()
1392 data->set.timeout = arg; in Curl_vsetopt()
1401 data->set.connecttimeout = arg * 1000; in Curl_vsetopt()
1410 data->set.connecttimeout = arg; in Curl_vsetopt()
1420 data->set.accepttimeout = arg; in Curl_vsetopt()
1428 &data->set.str[STRING_USERNAME], in Curl_vsetopt()
1429 &data->set.str[STRING_PASSWORD]); in Curl_vsetopt()
1436 result = Curl_setstropt(&data->set.str[STRING_USERNAME], in Curl_vsetopt()
1443 result = Curl_setstropt(&data->set.str[STRING_PASSWORD], in Curl_vsetopt()
1451 result = Curl_setstropt(&data->set.str[STRING_OPTIONS], in Curl_vsetopt()
1459 result = Curl_setstropt(&data->set.str[STRING_BEARER], in Curl_vsetopt()
1467 data->set.postquote = va_arg(param, struct curl_slist *); in Curl_vsetopt()
1473 data->set.prequote = va_arg(param, struct curl_slist *); in Curl_vsetopt()
1479 data->set.quote = va_arg(param, struct curl_slist *); in Curl_vsetopt()
1495 data->set.resolve = va_arg(param, struct curl_slist *); in Curl_vsetopt()
1496 data->state.resolve = data->set.resolve; in Curl_vsetopt()
1502 data->set.fprogress = va_arg(param, curl_progress_callback); in Curl_vsetopt()
1503 if(data->set.fprogress) in Curl_vsetopt()
1513 data->set.fxferinfo = va_arg(param, curl_xferinfo_callback); in Curl_vsetopt()
1514 if(data->set.fxferinfo) in Curl_vsetopt()
1525 data->set.progress_client = va_arg(param, void *); in Curl_vsetopt()
1534 &data->set.str[STRING_PROXYUSERNAME], in Curl_vsetopt()
1535 &data->set.str[STRING_PROXYPASSWORD]); in Curl_vsetopt()
1541 result = Curl_setstropt(&data->set.str[STRING_PROXYUSERNAME], in Curl_vsetopt()
1548 result = Curl_setstropt(&data->set.str[STRING_PROXYPASSWORD], in Curl_vsetopt()
1555 result = Curl_setstropt(&data->set.str[STRING_NOPROXY], in Curl_vsetopt()
1564 result = Curl_setstropt(&data->set.str[STRING_SET_RANGE], in Curl_vsetopt()
1574 data->set.set_resume_from = arg; in Curl_vsetopt()
1583 data->set.set_resume_from = bigsize; in Curl_vsetopt()
1589 data->set.fdebug = va_arg(param, curl_debug_callback); in Curl_vsetopt()
1599 data->set.debugdata = va_arg(param, void *); in Curl_vsetopt()
1606 data->set.err = va_arg(param, FILE *); in Curl_vsetopt()
1607 if(!data->set.err) in Curl_vsetopt()
1608 data->set.err = stderr; in Curl_vsetopt()
1614 data->set.fwrite_header = va_arg(param, curl_write_callback); in Curl_vsetopt()
1620 data->set.fwrite_func = va_arg(param, curl_write_callback); in Curl_vsetopt()
1621 if(!data->set.fwrite_func) { in Curl_vsetopt()
1622 data->set.is_fwrite_set = 0; in Curl_vsetopt()
1624 data->set.fwrite_func = (curl_write_callback)fwrite; in Curl_vsetopt()
1627 data->set.is_fwrite_set = 1; in Curl_vsetopt()
1633 data->set.fread_func_set = va_arg(param, curl_read_callback); in Curl_vsetopt()
1634 if(!data->set.fread_func_set) { in Curl_vsetopt()
1635 data->set.is_fread_set = 0; in Curl_vsetopt()
1637 data->set.fread_func_set = (curl_read_callback)fread; in Curl_vsetopt()
1640 data->set.is_fread_set = 1; in Curl_vsetopt()
1646 data->set.seek_func = va_arg(param, curl_seek_callback); in Curl_vsetopt()
1652 data->set.seek_client = va_arg(param, void *); in Curl_vsetopt()
1658 data->set.convfromnetwork = va_arg(param, curl_conv_callback); in Curl_vsetopt()
1664 data->set.convtonetwork = va_arg(param, curl_conv_callback); in Curl_vsetopt()
1670 data->set.convfromutf8 = va_arg(param, curl_conv_callback); in Curl_vsetopt()
1676 data->set.ioctl_func = va_arg(param, curl_ioctl_callback); in Curl_vsetopt()
1682 data->set.ioctl_client = va_arg(param, void *); in Curl_vsetopt()
1688 result = Curl_setstropt(&data->set.str[STRING_CERT], in Curl_vsetopt()
1695 result = Curl_setblobopt(&data->set.blobs[BLOB_CERT], in Curl_vsetopt()
1703 result = Curl_setstropt(&data->set.str[STRING_CERT_PROXY], in Curl_vsetopt()
1710 result = Curl_setblobopt(&data->set.blobs[BLOB_CERT_PROXY], in Curl_vsetopt()
1718 result = Curl_setstropt(&data->set.str[STRING_CERT_TYPE], in Curl_vsetopt()
1726 result = Curl_setstropt(&data->set.str[STRING_CERT_TYPE_PROXY], in Curl_vsetopt()
1734 result = Curl_setstropt(&data->set.str[STRING_KEY], in Curl_vsetopt()
1741 result = Curl_setblobopt(&data->set.blobs[BLOB_KEY], in Curl_vsetopt()
1749 result = Curl_setstropt(&data->set.str[STRING_KEY_PROXY], in Curl_vsetopt()
1756 result = Curl_setblobopt(&data->set.blobs[BLOB_KEY_PROXY], in Curl_vsetopt()
1764 result = Curl_setstropt(&data->set.str[STRING_KEY_TYPE], in Curl_vsetopt()
1772 result = Curl_setstropt(&data->set.str[STRING_KEY_TYPE_PROXY], in Curl_vsetopt()
1780 result = Curl_setstropt(&data->set.str[STRING_KEY_PASSWD], in Curl_vsetopt()
1788 result = Curl_setstropt(&data->set.str[STRING_KEY_PASSWD_PROXY], in Curl_vsetopt()
1798 result = Curl_setstropt(&data->set.str[STRING_SSL_ENGINE], argptr); in Curl_vsetopt()
1809 Curl_setstropt(&data->set.str[STRING_SSL_ENGINE], NULL); in Curl_vsetopt()
1816 data->set.crlf = (0 != va_arg(param, long)) ? TRUE : FALSE; in Curl_vsetopt()
1823 data->set.haproxyprotocol = (0 != va_arg(param, long)) ? TRUE : FALSE; in Curl_vsetopt()
1831 result = Curl_setstropt(&data->set.str[STRING_DEVICE], in Curl_vsetopt()
1841 data->set.localport = curlx_sltous(arg); in Curl_vsetopt()
1850 data->set.localportrange = curlx_sltosi(arg); in Curl_vsetopt()
1859 data->set.gssapi_delegation = arg; in Curl_vsetopt()
1865 data->set.ssl.primary.verifypeer = (0 != va_arg(param, long)) ? in Curl_vsetopt()
1871 data->set.ssl.primary.verifypeer; in Curl_vsetopt()
1878 data->set.doh_verifypeer = (0 != va_arg(param, long)) ? in Curl_vsetopt()
1886 data->set.proxy_ssl.primary.verifypeer = in Curl_vsetopt()
1892 data->set.proxy_ssl.primary.verifypeer; in Curl_vsetopt()
1905 data->set.ssl.primary.verifyhost = (bool)((arg & 3) ? TRUE : FALSE); in Curl_vsetopt()
1910 data->set.ssl.primary.verifyhost; in Curl_vsetopt()
1920 data->set.doh_verifyhost = (bool)((arg & 3) ? TRUE : FALSE); in Curl_vsetopt()
1930 data->set.proxy_ssl.primary.verifyhost = (bool)((arg & 3)?TRUE:FALSE); in Curl_vsetopt()
1935 data->set.proxy_ssl.primary.verifyhost; in Curl_vsetopt()
1948 data->set.ssl.primary.verifystatus = (0 != va_arg(param, long)) ? in Curl_vsetopt()
1954 data->set.ssl.primary.verifystatus; in Curl_vsetopt()
1966 data->set.doh_verifystatus = (0 != va_arg(param, long)) ? in Curl_vsetopt()
1975 data->set.ssl.fsslctx = va_arg(param, curl_ssl_ctx_callback); in Curl_vsetopt()
1986 data->set.ssl.fsslctxp = va_arg(param, void *); in Curl_vsetopt()
2000 data->set.ssl.falsestart = (0 != va_arg(param, long)) ? TRUE : FALSE; in Curl_vsetopt()
2005 data->set.ssl.certinfo = (0 != va_arg(param, long)) ? TRUE : FALSE; in Curl_vsetopt()
2017 result = Curl_setstropt(&data->set.str[STRING_SSL_PINNEDPUBLICKEY], in Curl_vsetopt()
2031 result = Curl_setstropt(&data->set.str[STRING_SSL_PINNEDPUBLICKEY_PROXY], in Curl_vsetopt()
2042 result = Curl_setstropt(&data->set.str[STRING_SSL_CAFILE], in Curl_vsetopt()
2052 result = Curl_setblobopt(&data->set.blobs[BLOB_CAINFO], in Curl_vsetopt()
2065 result = Curl_setstropt(&data->set.str[STRING_SSL_CAFILE_PROXY], in Curl_vsetopt()
2075 result = Curl_setblobopt(&data->set.blobs[BLOB_CAINFO_PROXY], in Curl_vsetopt()
2090 result = Curl_setstropt(&data->set.str[STRING_SSL_CAPATH], in Curl_vsetopt()
2105 result = Curl_setstropt(&data->set.str[STRING_SSL_CAPATH_PROXY], in Curl_vsetopt()
2117 result = Curl_setstropt(&data->set.str[STRING_SSL_CRLFILE], in Curl_vsetopt()
2126 result = Curl_setstropt(&data->set.str[STRING_SSL_CRLFILE_PROXY], in Curl_vsetopt()
2135 result = Curl_setstropt(&data->set.str[STRING_SSL_ISSUERCERT], in Curl_vsetopt()
2142 result = Curl_setblobopt(&data->set.blobs[BLOB_SSL_ISSUERCERT], in Curl_vsetopt()
2151 result = Curl_setstropt(&data->set.str[STRING_SSL_ISSUERCERT_PROXY], in Curl_vsetopt()
2158 result = Curl_setblobopt(&data->set.blobs[BLOB_SSL_ISSUERCERT_PROXY], in Curl_vsetopt()
2167 data->set.telnet_options = va_arg(param, struct curl_slist *); in Curl_vsetopt()
2187 data->set.buffer_size = arg; in Curl_vsetopt()
2202 data->set.upload_buffer_size = (unsigned int)arg; in Curl_vsetopt()
2211 data->set.no_signal = (0 != va_arg(param, long)) ? TRUE : FALSE; in Curl_vsetopt()
2216 struct Curl_share *set; in Curl_vsetopt() local
2217 set = va_arg(param, struct Curl_share *); in Curl_vsetopt()
2252 if(GOOD_SHARE_HANDLE(set)) in Curl_vsetopt()
2254 data->share = set; in Curl_vsetopt()
2283 data->set.general_ssl.max_ssl_sessions = data->share->max_ssl_sessions; in Curl_vsetopt()
2303 data->set.private_data = va_arg(param, void *); in Curl_vsetopt()
2313 data->set.max_filesize = arg; in Curl_vsetopt()
2324 data->set.use_ssl = (unsigned char)arg; in Curl_vsetopt()
2329 data->set.ssl.primary.ssl_options = (unsigned char)(arg & 0xff); in Curl_vsetopt()
2330 data->set.ssl.enable_beast = !!(arg & CURLSSLOPT_ALLOW_BEAST); in Curl_vsetopt()
2331 data->set.ssl.no_revoke = !!(arg & CURLSSLOPT_NO_REVOKE); in Curl_vsetopt()
2332 data->set.ssl.no_partialchain = !!(arg & CURLSSLOPT_NO_PARTIALCHAIN); in Curl_vsetopt()
2333 data->set.ssl.revoke_best_effort = !!(arg & CURLSSLOPT_REVOKE_BEST_EFFORT); in Curl_vsetopt()
2334 data->set.ssl.native_ca_store = !!(arg & CURLSSLOPT_NATIVE_CA); in Curl_vsetopt()
2335 data->set.ssl.auto_client_cert = !!(arg & CURLSSLOPT_AUTO_CLIENT_CERT); in Curl_vsetopt()
2343 data->set.proxy_ssl.primary.ssl_options = (unsigned char)(arg & 0xff); in Curl_vsetopt()
2344 data->set.proxy_ssl.enable_beast = !!(arg & CURLSSLOPT_ALLOW_BEAST); in Curl_vsetopt()
2345 data->set.proxy_ssl.no_revoke = !!(arg & CURLSSLOPT_NO_REVOKE); in Curl_vsetopt()
2346 data->set.proxy_ssl.no_partialchain = !!(arg & CURLSSLOPT_NO_PARTIALCHAIN); in Curl_vsetopt()
2347 data->set.proxy_ssl.revoke_best_effort = in Curl_vsetopt()
2349 data->set.proxy_ssl.native_ca_store = !!(arg & CURLSSLOPT_NATIVE_CA); in Curl_vsetopt()
2350 data->set.proxy_ssl.auto_client_cert = in Curl_vsetopt()
2360 result = Curl_setstropt(&data->set.str[STRING_SSL_EC_CURVES], in Curl_vsetopt()
2368 data->set.ipver = (unsigned char) arg; in Curl_vsetopt()
2378 data->set.max_filesize = bigsize; in Curl_vsetopt()
2386 data->set.tcp_nodelay = (0 != va_arg(param, long)) ? TRUE : FALSE; in Curl_vsetopt()
2391 data->set.ignorecl = (0 != va_arg(param, long)) ? TRUE : FALSE; in Curl_vsetopt()
2401 data->set.connect_only = (0 != va_arg(param, long)) ? TRUE : FALSE; in Curl_vsetopt()
2408 data->set.fsockopt = va_arg(param, curl_sockopt_callback); in Curl_vsetopt()
2415 data->set.sockopt_client = va_arg(param, void *); in Curl_vsetopt()
2423 data->set.fopensocket = va_arg(param, curl_opensocket_callback); in Curl_vsetopt()
2430 data->set.opensocket_client = va_arg(param, void *); in Curl_vsetopt()
2438 data->set.fclosesocket = va_arg(param, curl_closesocket_callback); in Curl_vsetopt()
2446 data->set.resolver_start = va_arg(param, curl_resolver_start_callback); in Curl_vsetopt()
2453 data->set.resolver_start_client = va_arg(param, void *); in Curl_vsetopt()
2460 data->set.closesocket_client = va_arg(param, void *); in Curl_vsetopt()
2464 data->set.ssl.primary.sessionid = (0 != va_arg(param, long)) ? in Curl_vsetopt()
2467 data->set.proxy_ssl.primary.sessionid = data->set.ssl.primary.sessionid; in Curl_vsetopt()
2474 data->set.ssh_auth_types = va_arg(param, long); in Curl_vsetopt()
2481 result = Curl_setstropt(&data->set.str[STRING_SSH_PUBLIC_KEY], in Curl_vsetopt()
2489 result = Curl_setstropt(&data->set.str[STRING_SSH_PRIVATE_KEY], in Curl_vsetopt()
2497 result = Curl_setstropt(&data->set.str[STRING_SSH_HOST_PUBLIC_KEY_MD5], in Curl_vsetopt()
2505 result = Curl_setstropt(&data->set.str[STRING_SSH_KNOWNHOSTS], in Curl_vsetopt()
2512 data->set.ssh_keyfunc = va_arg(param, curl_sshkeycallback); in Curl_vsetopt()
2519 data->set.ssh_keyfunc_userp = va_arg(param, void *); in Curl_vsetopt()
2523 data->set.ssh_compression = (0 != va_arg(param, long))?TRUE:FALSE; in Curl_vsetopt()
2531 data->set.http_te_skip = (0 == va_arg(param, long)) ? TRUE : FALSE; in Curl_vsetopt()
2538 data->set.http_ce_skip = (0 == va_arg(param, long)) ? TRUE : FALSE; in Curl_vsetopt()
2549 data->set.new_file_perms = arg; in Curl_vsetopt()
2559 data->set.new_directory_perms = arg; in Curl_vsetopt()
2574 data->set.scope_id = (unsigned int)uarg; in Curl_vsetopt()
2582 data->set.allowed_protocols = va_arg(param, long); in Curl_vsetopt()
2589 data->set.redir_protocols = va_arg(param, long); in Curl_vsetopt()
2594 result = Curl_setstropt(&data->set.str[STRING_DEFAULT_PROTOCOL], in Curl_vsetopt()
2600 result = Curl_setstropt(&data->set.str[STRING_MAIL_FROM], in Curl_vsetopt()
2606 result = Curl_setstropt(&data->set.str[STRING_MAIL_AUTH], in Curl_vsetopt()
2612 data->set.mail_rcpt = va_arg(param, struct curl_slist *); in Curl_vsetopt()
2616 data->set.mail_rcpt_allowfails = (0 != va_arg(param, long)) ? TRUE : FALSE; in Curl_vsetopt()
2622 result = Curl_setstropt(&data->set.str[STRING_SASL_AUTHZID], in Curl_vsetopt()
2628 data->set.sasl_ir = (0 != va_arg(param, long)) ? TRUE : FALSE; in Curl_vsetopt()
2687 data->set.rtspreq = rtspreq; in Curl_vsetopt()
2697 result = Curl_setstropt(&data->set.str[STRING_RTSP_SESSION_ID], in Curl_vsetopt()
2706 result = Curl_setstropt(&data->set.str[STRING_RTSP_STREAM_URI], in Curl_vsetopt()
2714 result = Curl_setstropt(&data->set.str[STRING_RTSP_TRANSPORT], in Curl_vsetopt()
2733 data->set.rtp_out = va_arg(param, void *); in Curl_vsetopt()
2737 data->set.fwrite_rtp = va_arg(param, curl_write_callback); in Curl_vsetopt()
2742 data->set.wildcard_enabled = (0 != va_arg(param, long)) ? TRUE : FALSE; in Curl_vsetopt()
2745 data->set.chunk_bgn = va_arg(param, curl_chunk_bgn_callback); in Curl_vsetopt()
2748 data->set.chunk_end = va_arg(param, curl_chunk_end_callback); in Curl_vsetopt()
2751 data->set.fnmatch = va_arg(param, curl_fnmatch_callback); in Curl_vsetopt()
2757 data->set.fnmatch_data = va_arg(param, void *); in Curl_vsetopt()
2762 result = Curl_setstropt(&data->set.str[STRING_TLSAUTH_USERNAME], in Curl_vsetopt()
2764 if(data->set.str[STRING_TLSAUTH_USERNAME] && in Curl_vsetopt()
2765 !data->set.ssl.primary.authtype) in Curl_vsetopt()
2766 data->set.ssl.primary.authtype = CURL_TLSAUTH_SRP; /* default to SRP */ in Curl_vsetopt()
2769 result = Curl_setstropt(&data->set.str[STRING_TLSAUTH_USERNAME_PROXY], in Curl_vsetopt()
2772 if(data->set.str[STRING_TLSAUTH_USERNAME] && in Curl_vsetopt()
2773 !data->set.ssl.primary.authtype) in Curl_vsetopt()
2774 data->set.ssl.primary.authtype = CURL_TLSAUTH_SRP; /* default to SRP */ in Curl_vsetopt()
2778 result = Curl_setstropt(&data->set.str[STRING_TLSAUTH_PASSWORD], in Curl_vsetopt()
2780 if(data->set.str[STRING_TLSAUTH_USERNAME] && in Curl_vsetopt()
2781 !data->set.ssl.primary.authtype) in Curl_vsetopt()
2782 data->set.ssl.primary.authtype = CURL_TLSAUTH_SRP; /* default */ in Curl_vsetopt()
2785 result = Curl_setstropt(&data->set.str[STRING_TLSAUTH_PASSWORD_PROXY], in Curl_vsetopt()
2788 if(data->set.str[STRING_TLSAUTH_USERNAME_PROXY] && in Curl_vsetopt()
2789 !data->set.proxy_ssl.primary.authtype) in Curl_vsetopt()
2790 data->set.proxy_ssl.primary.authtype = CURL_TLSAUTH_SRP; /* default */ in Curl_vsetopt()
2797 data->set.ssl.primary.authtype = CURL_TLSAUTH_SRP; in Curl_vsetopt()
2799 data->set.ssl.primary.authtype = CURL_TLSAUTH_NONE; in Curl_vsetopt()
2806 data->set.proxy_ssl.primary.authtype = CURL_TLSAUTH_SRP; in Curl_vsetopt()
2808 data->set.proxy_ssl.primary.authtype = CURL_TLSAUTH_NONE; in Curl_vsetopt()
2814 result = Curl_setstropt(&data->set.str[STRING_DNS_SERVERS], in Curl_vsetopt()
2818 result = Curl_set_dns_servers(data, data->set.str[STRING_DNS_SERVERS]); in Curl_vsetopt()
2821 result = Curl_setstropt(&data->set.str[STRING_DNS_INTERFACE], in Curl_vsetopt()
2825 result = Curl_set_dns_interface(data, data->set.str[STRING_DNS_INTERFACE]); in Curl_vsetopt()
2828 result = Curl_setstropt(&data->set.str[STRING_DNS_LOCAL_IP4], in Curl_vsetopt()
2832 result = Curl_set_dns_local_ip4(data, data->set.str[STRING_DNS_LOCAL_IP4]); in Curl_vsetopt()
2835 result = Curl_setstropt(&data->set.str[STRING_DNS_LOCAL_IP6], in Curl_vsetopt()
2839 result = Curl_set_dns_local_ip6(data, data->set.str[STRING_DNS_LOCAL_IP6]); in Curl_vsetopt()
2843 data->set.tcp_keepalive = (0 != va_arg(param, long)) ? TRUE : FALSE; in Curl_vsetopt()
2849 data->set.tcp_keepidle = arg; in Curl_vsetopt()
2855 data->set.tcp_keepintvl = arg; in Curl_vsetopt()
2860 data->set.tcp_fastopen = (0 != va_arg(param, long))?TRUE:FALSE; in Curl_vsetopt()
2866 data->set.ssl_enable_npn = (0 != va_arg(param, long)) ? TRUE : FALSE; in Curl_vsetopt()
2869 data->set.ssl_enable_alpn = (0 != va_arg(param, long)) ? TRUE : FALSE; in Curl_vsetopt()
2873 data->set.abstract_unix_socket = FALSE; in Curl_vsetopt()
2874 result = Curl_setstropt(&data->set.str[STRING_UNIX_SOCKET_PATH], in Curl_vsetopt()
2878 data->set.abstract_unix_socket = TRUE; in Curl_vsetopt()
2879 result = Curl_setstropt(&data->set.str[STRING_UNIX_SOCKET_PATH], in Curl_vsetopt()
2885 data->set.path_as_is = (0 != va_arg(param, long)) ? TRUE : FALSE; in Curl_vsetopt()
2888 data->set.pipewait = (0 != va_arg(param, long)) ? TRUE : FALSE; in Curl_vsetopt()
2896 data->set.stream_weight = (int)arg; in Curl_vsetopt()
2907 if(data->set.stream_depends_on) { in Curl_vsetopt()
2908 Curl_http2_remove_child(data->set.stream_depends_on, data); in Curl_vsetopt()
2916 data->set.connect_to = va_arg(param, struct curl_slist *); in Curl_vsetopt()
2919 data->set.suppress_connect_headers = (0 != va_arg(param, long))?TRUE:FALSE; in Curl_vsetopt()
2925 data->set.happy_eyeballs_timeout = arg; in Curl_vsetopt()
2929 data->set.dns_shuffle_addresses = (0 != va_arg(param, long)) ? TRUE:FALSE; in Curl_vsetopt()
2933 data->set.disallow_username_in_url = in Curl_vsetopt()
2938 result = Curl_setstropt(&data->set.str[STRING_DOH], in Curl_vsetopt()
2940 data->set.doh = data->set.str[STRING_DOH]?TRUE:FALSE; in Curl_vsetopt()
2947 data->set.upkeep_interval_ms = arg; in Curl_vsetopt()
2953 data->set.maxage_conn = arg; in Curl_vsetopt()
2957 data->set.trailer_callback = va_arg(param, curl_trailer_callback); in Curl_vsetopt()
2962 data->set.trailer_data = va_arg(param, void *); in Curl_vsetopt()
2967 data->set.hsts_read = va_arg(param, curl_hstsread_callback); in Curl_vsetopt()
2970 data->set.hsts_read_userp = va_arg(param, void *); in Curl_vsetopt()
2973 data->set.hsts_write = va_arg(param, curl_hstswrite_callback); in Curl_vsetopt()
2976 data->set.hsts_write_userp = va_arg(param, void *); in Curl_vsetopt()
2987 result = Curl_setstropt(&data->set.str[STRING_HSTS], argptr); in Curl_vsetopt()
2993 h = curl_slist_append(data->set.hstslist, argptr); in Curl_vsetopt()
2995 curl_slist_free_all(data->set.hstslist); in Curl_vsetopt()
2996 data->set.hstslist = NULL; in Curl_vsetopt()
2999 data->set.hstslist = h; /* store the list for later use */ in Curl_vsetopt()
3003 curl_slist_free_all(data->set.hstslist); in Curl_vsetopt()
3004 data->set.hstslist = NULL; in Curl_vsetopt()
3032 result = Curl_setstropt(&data->set.str[STRING_ALTSVC], argptr); in Curl_vsetopt()