Lines Matching refs:my_setopt
801 my_setopt(curl, CURLOPT_TCP_NODELAY, 1L);
804 my_setopt(curl, CURLOPT_WRITEDATA, &outs);
807 my_setopt(curl, CURLOPT_WRITEFUNCTION, tool_write_cb);
812 my_setopt(curl, CURLOPT_WRITEFUNCTION, metalink_write_cb);
825 my_setopt(curl, CURLOPT_READDATA, &input);
827 my_setopt(curl, CURLOPT_READFUNCTION, tool_read_cb);
831 my_setopt(curl, CURLOPT_SEEKDATA, &input);
832 my_setopt(curl, CURLOPT_SEEKFUNCTION, tool_seek_cb);
837 my_setopt(curl, CURLOPT_BUFFERSIZE, (long)config->recvpersecond);
841 my_setopt(curl, CURLOPT_INFILESIZE_LARGE, uploadfilesize);
843 my_setopt(curl, CURLOPT_NOPROGRESS, global->noprogress?1L:0L);
845 my_setopt(curl, CURLOPT_NOBODY, 1L);
846 my_setopt(curl, CURLOPT_HEADER, 1L);
852 my_setopt(curl, CURLOPT_HEADER, config->include_headers?1L:0L);
865 my_setopt(curl, CURLOPT_HTTPPROXYTUNNEL, config->proxytunnel?1L:0L);
895 my_setopt(curl, CURLOPT_NOPROXY, config->noproxy);
899 my_setopt(curl, CURLOPT_FAILONERROR, config->failonerror?1L:0L);
900 my_setopt(curl, CURLOPT_UPLOAD, uploadfile?1L:0L);
901 my_setopt(curl, CURLOPT_DIRLISTONLY, config->dirlistonly?1L:0L);
902 my_setopt(curl, CURLOPT_APPEND, config->ftp_append?1L:0L);
912 my_setopt(curl, CURLOPT_NETRC_FILE, config->netrc_file);
914 my_setopt(curl, CURLOPT_TRANSFERTEXT, config->use_ascii?1L:0L);
919 my_setopt(curl, CURLOPT_ERRORBUFFER, errorbuffer);
920 my_setopt(curl, CURLOPT_TIMEOUT_MS, (long)(config->timeout * 1000));
926 my_setopt(curl, CURLOPT_FOLLOWLOCATION,
928 my_setopt(curl, CURLOPT_UNRESTRICTED_AUTH,
935 my_setopt(curl, CURLOPT_POSTFIELDSIZE_LARGE,
946 my_setopt(curl, CURLOPT_AUTOREFERER, config->autoreferer?1L:0L);
953 my_setopt(curl, CURLOPT_HEADEROPT, CURLHEADER_SEPARATE);
957 my_setopt(curl, CURLOPT_MAXREDIRS, config->maxredirs);
975 my_setopt(curl, CURLOPT_POSTREDIR, postRedir);
983 my_setopt(curl, CURLOPT_TRANSFER_ENCODING, 1L);
988 my_setopt(curl, CURLOPT_LOW_SPEED_LIMIT,
990 my_setopt(curl, CURLOPT_LOW_SPEED_TIME, config->low_speed_time);
991 my_setopt(curl, CURLOPT_MAX_SEND_SPEED_LARGE,
993 my_setopt(curl, CURLOPT_MAX_RECV_SPEED_LARGE,
997 my_setopt(curl, CURLOPT_RESUME_FROM_LARGE, config->resume_from);
999 my_setopt(curl, CURLOPT_RESUME_FROM_LARGE, CURL_OFF_T_C(0));
1034 my_setopt(curl, CURLOPT_SSL_VERIFYPEER, 0L);
1035 my_setopt(curl, CURLOPT_SSL_VERIFYHOST, 0L);
1038 my_setopt(curl, CURLOPT_SSL_VERIFYPEER, 1L);
1040 /* my_setopt(curl, CURLOPT_SSL_VERIFYHOST, 2L); */
1044 my_setopt(curl, CURLOPT_SSL_VERIFYSTATUS, 1L);
1047 my_setopt(curl, CURLOPT_SSL_FALSESTART, 1L);
1052 my_setopt(curl, CURLOPT_PATH_AS_IS, 1L);
1079 my_setopt(curl, CURLOPT_FILETIME, 1L);
1082 my_setopt(curl, CURLOPT_CRLF, config->crlf?1L:0L);
1099 my_setopt(curl, CURLOPT_COOKIESESSION, config->cookiesession?1L:0L);
1109 my_setopt(curl, CURLOPT_TIMEVALUE, (long)config->condtime);
1111 my_setopt(curl, CURLOPT_STDERR, global->errors);
1122 my_setopt(curl, CURLOPT_XFERINFOFUNCTION, tool_progress_cb);
1123 my_setopt(curl, CURLOPT_XFERINFODATA, &progressbar);
1144 my_setopt(curl, CURLOPT_CONNECTTIMEOUT_MS,
1153 my_setopt(curl, CURLOPT_FTP_USE_EPSV, 0L);
1158 my_setopt(curl, CURLOPT_FTP_USE_EPRT, 0L);
1161 my_setopt(curl, CURLOPT_DEBUGFUNCTION, tool_debug_cb);
1162 my_setopt(curl, CURLOPT_DEBUGDATA, config);
1163 my_setopt(curl, CURLOPT_VERBOSE, 1L);
1171 my_setopt(curl, CURLOPT_SSLENGINE_DEFAULT, 1L);
1175 my_setopt(curl, CURLOPT_FTP_CREATE_MISSING_DIRS,
1180 my_setopt(curl, CURLOPT_MAXFILESIZE_LARGE,
1184 my_setopt(curl, CURLOPT_IPRESOLVE, CURL_IPRESOLVE_V4);
1186 my_setopt(curl, CURLOPT_IPRESOLVE, CURL_IPRESOLVE_V6);
1188 my_setopt(curl, CURLOPT_IPRESOLVE, CURL_IPRESOLVE_WHATEVER);
1236 my_setopt(curl, CURLOPT_IGNORE_CONTENT_LENGTH, config->ignorecl?1L:0L);
1239 my_setopt(curl, CURLOPT_FTP_SKIP_PASV_IP, config->ftp_skip_ip?1L:0L);
1242 my_setopt(curl, CURLOPT_FTP_FILEMETHOD, (long)config->ftp_filemethod);
1246 my_setopt(curl, CURLOPT_LOCALPORT, (long)config->localport);
1258 my_setopt(curl, CURLOPT_SSL_SESSIONID_CACHE, 0L);
1262 my_setopt(curl, CURLOPT_HTTP_CONTENT_DECODING, 0L);
1263 my_setopt(curl, CURLOPT_HTTP_TRANSFER_DECODING, 0L);
1268 my_setopt(curl, CURLOPT_TCP_KEEPALIVE, 1L);
1274 my_setopt(curl, CURLOPT_TCP_KEEPIDLE, config->alivetime);
1275 my_setopt(curl, CURLOPT_TCP_KEEPINTVL, config->alivetime);
1279 my_setopt(curl, CURLOPT_TCP_KEEPALIVE, 0L);
1283 my_setopt(curl, CURLOPT_TFTP_BLKSIZE, config->tftp_blksize);
1293 my_setopt(curl, CURLOPT_FTP_USE_PRET, 1L);
1311 my_setopt(curl, CURLOPT_HEADERFUNCTION, tool_header_cb);
1312 my_setopt(curl, CURLOPT_HEADERDATA, &hdrcbdata);
1338 my_setopt(curl, CURLOPT_SSL_OPTIONS, (long)CURLSSLOPT_ALLOW_BEAST);
1345 my_setopt(curl, CURLOPT_SASL_IR, 1L);
1348 my_setopt(curl, CURLOPT_SSL_ENABLE_NPN, 0L);
1352 my_setopt(curl, CURLOPT_SSL_ENABLE_ALPN, 0L);