Lines Matching refs:easy
92 CURL *easy; member
103 CURL *easy; member
163 CURL *easy; in check_multi_info() local
169 easy = msg->easy_handle; in check_multi_info()
171 curl_easy_getinfo(easy, CURLINFO_PRIVATE, &conn); in check_multi_info()
172 curl_easy_getinfo(easy, CURLINFO_EFFECTIVE_URL, &eff_url); in check_multi_info()
174 curl_multi_remove_handle(g->multi, easy); in check_multi_info()
176 curl_easy_cleanup(easy); in check_multi_info()
239 f->easy = e; in setsock()
251 static void addsock(curl_socket_t s, CURL *easy, int action, GlobalInfo *g) in addsock() argument
256 setsock(fdp, s, easy, action, g); in addsock()
328 conn->easy = curl_easy_init(); in new_conn()
329 if ( !conn->easy ) in new_conn()
336 curl_easy_setopt(conn->easy, CURLOPT_URL, conn->url); in new_conn()
337 curl_easy_setopt(conn->easy, CURLOPT_WRITEFUNCTION, write_cb); in new_conn()
338 curl_easy_setopt(conn->easy, CURLOPT_WRITEDATA, conn); in new_conn()
339 curl_easy_setopt(conn->easy, CURLOPT_VERBOSE, 1L); in new_conn()
340 curl_easy_setopt(conn->easy, CURLOPT_ERRORBUFFER, conn->error); in new_conn()
341 curl_easy_setopt(conn->easy, CURLOPT_PRIVATE, conn); in new_conn()
342 curl_easy_setopt(conn->easy, CURLOPT_NOPROGRESS, 0L); in new_conn()
343 curl_easy_setopt(conn->easy, CURLOPT_PROGRESSFUNCTION, prog_cb); in new_conn()
344 curl_easy_setopt(conn->easy, CURLOPT_PROGRESSDATA, conn); in new_conn()
345 curl_easy_setopt(conn->easy, CURLOPT_LOW_SPEED_TIME, 3L); in new_conn()
346 curl_easy_setopt(conn->easy, CURLOPT_LOW_SPEED_LIMIT, 10L); in new_conn()
349 "Adding easy %p to multi %p (%s)\n", conn->easy, g->multi, url); in new_conn()
350 rc = curl_multi_add_handle(g->multi, conn->easy); in new_conn()