Lines Matching refs:easy
79 CURL *easy; member
88 CURL *easy; member
123 CURL *easy; in check_multi_info() local
129 easy = msg->easy_handle; in check_multi_info()
131 curl_easy_getinfo(easy, CURLINFO_PRIVATE, &conn); in check_multi_info()
132 curl_easy_getinfo(easy, CURLINFO_EFFECTIVE_URL, &eff_url); in check_multi_info()
134 curl_multi_remove_handle(g->multi, easy); in check_multi_info()
136 curl_easy_cleanup(easy); in check_multi_info()
227 f->easy = e; in setsock()
235 static void addsock(curl_socket_t s, CURL *easy, int action, GlobalInfo *g) in addsock() argument
241 setsock(fdp, s, easy, action, g); in addsock()
300 conn->easy = curl_easy_init(); in new_conn()
301 if(!conn->easy) { in new_conn()
307 curl_easy_setopt(conn->easy, CURLOPT_URL, conn->url); in new_conn()
308 curl_easy_setopt(conn->easy, CURLOPT_WRITEFUNCTION, write_cb); in new_conn()
309 curl_easy_setopt(conn->easy, CURLOPT_WRITEDATA, &conn); in new_conn()
310 curl_easy_setopt(conn->easy, CURLOPT_VERBOSE, (long)SHOW_VERBOSE); in new_conn()
311 curl_easy_setopt(conn->easy, CURLOPT_ERRORBUFFER, conn->error); in new_conn()
312 curl_easy_setopt(conn->easy, CURLOPT_PRIVATE, conn); in new_conn()
313 curl_easy_setopt(conn->easy, CURLOPT_NOPROGRESS, SHOW_PROGRESS?0L:1L); in new_conn()
314 curl_easy_setopt(conn->easy, CURLOPT_PROGRESSFUNCTION, prog_cb); in new_conn()
315 curl_easy_setopt(conn->easy, CURLOPT_PROGRESSDATA, conn); in new_conn()
316 curl_easy_setopt(conn->easy, CURLOPT_FOLLOWLOCATION, 1L); in new_conn()
317 curl_easy_setopt(conn->easy, CURLOPT_CONNECTTIMEOUT, 30L); in new_conn()
318 curl_easy_setopt(conn->easy, CURLOPT_LOW_SPEED_LIMIT, 1L); in new_conn()
319 curl_easy_setopt(conn->easy, CURLOPT_LOW_SPEED_TIME, 30L); in new_conn()
321 MSG_OUT("Adding easy %p to multi %p (%s)\n", conn->easy, g->multi, url); in new_conn()
322 rc = curl_multi_add_handle(g->multi, conn->easy); in new_conn()