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