Lines Matching refs:easy
44 of URL's and creates some new easy handles to fetch each URL via the
95 /* Information associated with a specific easy handle */
98 CURL *easy;
109 CURL *easy;
173 /* Check for completed transfers, and remove their easy handles */
180 CURL *easy;
186 easy = msg->easy_handle;
188 curl_easy_getinfo(easy, CURLINFO_PRIVATE, &conn);
189 curl_easy_getinfo(easy, CURLINFO_EFFECTIVE_URL, &eff_url);
191 curl_multi_remove_handle(g->multi, easy);
193 curl_easy_cleanup(easy);
257 f->easy = e;
269 static void addsock(curl_socket_t s, CURL *easy, int action, GlobalInfo *g)
274 setsock(fdp, s, easy, action, g);
334 /* Create a new easy handle, and add it to the global curl_multi */
343 conn->easy = curl_easy_init();
344 if(!conn->easy) {
350 curl_easy_setopt(conn->easy, CURLOPT_URL, conn->url);
351 curl_easy_setopt(conn->easy, CURLOPT_WRITEFUNCTION, write_cb);
352 curl_easy_setopt(conn->easy, CURLOPT_WRITEDATA, conn);
353 curl_easy_setopt(conn->easy, CURLOPT_VERBOSE, 1L);
354 curl_easy_setopt(conn->easy, CURLOPT_ERRORBUFFER, conn->error);
355 curl_easy_setopt(conn->easy, CURLOPT_PRIVATE, conn);
356 curl_easy_setopt(conn->easy, CURLOPT_NOPROGRESS, 0L);
357 curl_easy_setopt(conn->easy, CURLOPT_PROGRESSFUNCTION, prog_cb);
358 curl_easy_setopt(conn->easy, CURLOPT_PROGRESSDATA, conn);
359 curl_easy_setopt(conn->easy, CURLOPT_LOW_SPEED_TIME, 3L);
360 curl_easy_setopt(conn->easy, CURLOPT_LOW_SPEED_LIMIT, 10L);
363 "Adding easy %p to multi %p (%s)\n", conn->easy, g->multi, url);
364 rc = curl_multi_add_handle(g->multi, conn->easy);