Lines Matching refs:my_setopt
822 my_setopt(curl, CURLOPT_TCP_NODELAY, 0L); in operate_do()
825 my_setopt(curl, CURLOPT_TCP_FASTOPEN, 1L); in operate_do()
828 my_setopt(curl, CURLOPT_WRITEDATA, &outs); in operate_do()
829 my_setopt(curl, CURLOPT_INTERLEAVEDATA, &outs); in operate_do()
832 my_setopt(curl, CURLOPT_WRITEFUNCTION, tool_write_cb); in operate_do()
837 my_setopt(curl, CURLOPT_WRITEFUNCTION, metalink_write_cb); in operate_do()
850 my_setopt(curl, CURLOPT_READDATA, &input); in operate_do()
852 my_setopt(curl, CURLOPT_READFUNCTION, tool_read_cb); in operate_do()
856 my_setopt(curl, CURLOPT_SEEKDATA, &input); in operate_do()
857 my_setopt(curl, CURLOPT_SEEKFUNCTION, tool_seek_cb); in operate_do()
862 my_setopt(curl, CURLOPT_BUFFERSIZE, (long)config->recvpersecond); in operate_do()
864 my_setopt(curl, CURLOPT_BUFFERSIZE, (long)BUFFER_SIZE); in operate_do()
868 my_setopt(curl, CURLOPT_INFILESIZE_LARGE, uploadfilesize); in operate_do()
870 my_setopt(curl, CURLOPT_NOPROGRESS, global->noprogress?1L:0L); in operate_do()
872 my_setopt(curl, CURLOPT_NOBODY, 1L); in operate_do()
889 my_setopt(curl, CURLOPT_HTTPPROXYTUNNEL, config->proxytunnel?1L:0L); in operate_do()
915 my_setopt(curl, CURLOPT_SUPPRESS_CONNECT_HEADERS, in operate_do()
920 my_setopt(curl, CURLOPT_FAILONERROR, config->failonerror?1L:0L); in operate_do()
921 my_setopt(curl, CURLOPT_REQUEST_TARGET, config->request_target); in operate_do()
922 my_setopt(curl, CURLOPT_UPLOAD, uploadfile?1L:0L); in operate_do()
923 my_setopt(curl, CURLOPT_DIRLISTONLY, config->dirlistonly?1L:0L); in operate_do()
924 my_setopt(curl, CURLOPT_APPEND, config->ftp_append?1L:0L); in operate_do()
936 my_setopt(curl, CURLOPT_TRANSFERTEXT, config->use_ascii?1L:0L); in operate_do()
941 my_setopt(curl, CURLOPT_ERRORBUFFER, errorbuffer); in operate_do()
942 my_setopt(curl, CURLOPT_TIMEOUT_MS, (long)(config->timeout * 1000)); in operate_do()
948 my_setopt(curl, CURLOPT_POSTFIELDSIZE_LARGE, in operate_do()
976 my_setopt(curl, CURLOPT_FOLLOWLOCATION, in operate_do()
978 my_setopt(curl, CURLOPT_UNRESTRICTED_AUTH, in operate_do()
981 my_setopt(curl, CURLOPT_AUTOREFERER, config->autoreferer?1L:0L); in operate_do()
986 my_setopt(curl, CURLOPT_HEADEROPT, CURLHEADER_SEPARATE); in operate_do()
990 my_setopt(curl, CURLOPT_MAXREDIRS, config->maxredirs); in operate_do()
1006 my_setopt(curl, CURLOPT_POSTREDIR, postRedir); in operate_do()
1014 my_setopt(curl, CURLOPT_TRANSFER_ENCODING, 1L); in operate_do()
1016 my_setopt(curl, CURLOPT_HTTP09_ALLOWED, in operate_do()
1022 my_setopt(curl, CURLOPT_LOW_SPEED_LIMIT, in operate_do()
1024 my_setopt(curl, CURLOPT_LOW_SPEED_TIME, config->low_speed_time); in operate_do()
1025 my_setopt(curl, CURLOPT_MAX_SEND_SPEED_LARGE, in operate_do()
1027 my_setopt(curl, CURLOPT_MAX_RECV_SPEED_LARGE, in operate_do()
1031 my_setopt(curl, CURLOPT_RESUME_FROM_LARGE, config->resume_from); in operate_do()
1033 my_setopt(curl, CURLOPT_RESUME_FROM_LARGE, CURL_OFF_T_C(0)); in operate_do()
1053 my_setopt(curl, CURLOPT_SSH_COMPRESSION, 1L); in operate_do()
1151 my_setopt(curl, CURLOPT_SSL_VERIFYPEER, 0L); in operate_do()
1152 my_setopt(curl, CURLOPT_SSL_VERIFYHOST, 0L); in operate_do()
1155 my_setopt(curl, CURLOPT_SSL_VERIFYPEER, 1L); in operate_do()
1160 my_setopt(curl, CURLOPT_PROXY_SSL_VERIFYPEER, 0L); in operate_do()
1161 my_setopt(curl, CURLOPT_PROXY_SSL_VERIFYHOST, 0L); in operate_do()
1164 my_setopt(curl, CURLOPT_PROXY_SSL_VERIFYPEER, 1L); in operate_do()
1168 my_setopt(curl, CURLOPT_SSL_VERIFYSTATUS, 1L); in operate_do()
1171 my_setopt(curl, CURLOPT_SSL_FALSESTART, 1L); in operate_do()
1179 my_setopt(curl, CURLOPT_PATH_AS_IS, 1L); in operate_do()
1206 my_setopt(curl, CURLOPT_FILETIME, 1L); in operate_do()
1209 my_setopt(curl, CURLOPT_CRLF, config->crlf?1L:0L); in operate_do()
1226 my_setopt(curl, CURLOPT_COOKIESESSION, config->cookiesession?1L:0L); in operate_do()
1236 my_setopt(curl, CURLOPT_TIMEVALUE_LARGE, config->condtime); in operate_do()
1239 my_setopt(curl, CURLOPT_STDERR, global->errors); in operate_do()
1250 my_setopt(curl, CURLOPT_XFERINFOFUNCTION, tool_progress_cb); in operate_do()
1251 my_setopt(curl, CURLOPT_XFERINFODATA, &progressbar); in operate_do()
1272 my_setopt(curl, CURLOPT_CONNECTTIMEOUT_MS, in operate_do()
1295 my_setopt(curl, CURLOPT_FTP_USE_EPSV, 0L); in operate_do()
1300 my_setopt(curl, CURLOPT_FTP_USE_EPRT, 0L); in operate_do()
1303 my_setopt(curl, CURLOPT_DEBUGFUNCTION, tool_debug_cb); in operate_do()
1304 my_setopt(curl, CURLOPT_DEBUGDATA, config); in operate_do()
1305 my_setopt(curl, CURLOPT_VERBOSE, 1L); in operate_do()
1317 my_setopt(curl, CURLOPT_FTP_CREATE_MISSING_DIRS, in operate_do()
1324 my_setopt(curl, CURLOPT_MAXFILESIZE_LARGE, in operate_do()
1328 my_setopt(curl, CURLOPT_IPRESOLVE, CURL_IPRESOLVE_V4); in operate_do()
1330 my_setopt(curl, CURLOPT_IPRESOLVE, CURL_IPRESOLVE_V6); in operate_do()
1332 my_setopt(curl, CURLOPT_IPRESOLVE, CURL_IPRESOLVE_WHATEVER); in operate_do()
1374 my_setopt(curl, CURLOPT_IGNORE_CONTENT_LENGTH, config->ignorecl?1L:0L); in operate_do()
1377 my_setopt(curl, CURLOPT_FTP_SKIP_PASV_IP, config->ftp_skip_ip?1L:0L); in operate_do()
1380 my_setopt(curl, CURLOPT_FTP_FILEMETHOD, (long)config->ftp_filemethod); in operate_do()
1384 my_setopt(curl, CURLOPT_LOCALPORT, config->localport); in operate_do()
1395 my_setopt(curl, CURLOPT_SSL_SESSIONID_CACHE, 0L); in operate_do()
1399 my_setopt(curl, CURLOPT_HTTP_CONTENT_DECODING, 0L); in operate_do()
1400 my_setopt(curl, CURLOPT_HTTP_TRANSFER_DECODING, 0L); in operate_do()
1405 my_setopt(curl, CURLOPT_TCP_KEEPALIVE, 1L); in operate_do()
1407 my_setopt(curl, CURLOPT_TCP_KEEPIDLE, config->alivetime); in operate_do()
1408 my_setopt(curl, CURLOPT_TCP_KEEPINTVL, config->alivetime); in operate_do()
1412 my_setopt(curl, CURLOPT_TCP_KEEPALIVE, 0L); in operate_do()
1416 my_setopt(curl, CURLOPT_TFTP_BLKSIZE, config->tftp_blksize); in operate_do()
1426 my_setopt(curl, CURLOPT_FTP_USE_PRET, 1L); in operate_do()
1444 my_setopt(curl, CURLOPT_HEADERFUNCTION, tool_header_cb); in operate_do()
1445 my_setopt(curl, CURLOPT_HEADERDATA, &hdrcbdata); in operate_do()
1491 my_setopt(curl, CURLOPT_PROXY_SSL_OPTIONS, in operate_do()
1499 my_setopt(curl, CURLOPT_SASL_IR, 1L); in operate_do()
1502 my_setopt(curl, CURLOPT_SSL_ENABLE_NPN, 0L); in operate_do()
1506 my_setopt(curl, CURLOPT_SSL_ENABLE_ALPN, 0L); in operate_do()
1531 my_setopt(curl, CURLOPT_TFTP_NO_OPTIONS, 1L); in operate_do()
1535 my_setopt(curl, CURLOPT_HAPPY_EYEBALLS_TIMEOUT_MS, in operate_do()
1540 my_setopt(curl, CURLOPT_HAPROXYPROTOCOL, 1L); in operate_do()
1543 my_setopt(curl, CURLOPT_DISALLOW_USERNAME_IN_URL, 1L); in operate_do()