Lines Matching refs:easy
145 CURL *easy; in add_transfer() local
148 easy = curl_easy_init(); in add_transfer()
149 if(!easy) { in add_transfer()
153 curl_easy_setopt(easy, CURLOPT_VERBOSE, 1L); in add_transfer()
154 curl_easy_setopt(easy, CURLOPT_DEBUGFUNCTION, debug_cb); in add_transfer()
155 curl_easy_setopt(easy, CURLOPT_URL, url); in add_transfer()
156 curl_easy_setopt(easy, CURLOPT_SHARE, share); in add_transfer()
157 curl_easy_setopt(easy, CURLOPT_NOSIGNAL, 1L); in add_transfer()
158 curl_easy_setopt(easy, CURLOPT_AUTOREFERER, 1L); in add_transfer()
159 curl_easy_setopt(easy, CURLOPT_FAILONERROR, 1L); in add_transfer()
160 curl_easy_setopt(easy, CURLOPT_HTTP_VERSION, http_version); in add_transfer()
161 curl_easy_setopt(easy, CURLOPT_WRITEFUNCTION, write_cb); in add_transfer()
162 curl_easy_setopt(easy, CURLOPT_WRITEDATA, NULL); in add_transfer()
163 curl_easy_setopt(easy, CURLOPT_HTTPGET, 1L); in add_transfer()
164 curl_easy_setopt(easy, CURLOPT_SSL_VERIFYPEER, 0L); in add_transfer()
166 curl_easy_setopt(easy, CURLOPT_RESOLVE, resolve); in add_transfer()
169 mc = curl_multi_add_handle(multi, easy); in add_transfer()