Lines Matching refs:easy
41 of URL's and creates some new easy handles to fetch each URL via the
93 /* Information associated with a specific easy handle */
96 CURL *easy;
107 CURL *easy;
165 /* Check for completed transfers, and remove their easy handles */
172 CURL *easy;
178 easy = msg->easy_handle;
180 curl_easy_getinfo(easy, CURLINFO_PRIVATE, &conn);
181 curl_easy_getinfo(easy, CURLINFO_EFFECTIVE_URL, &eff_url);
183 curl_multi_remove_handle(g->multi, easy);
185 curl_easy_cleanup(easy);
258 f->easy = e;
269 static void addsock(curl_socket_t s, CURL *easy, int action, GlobalInfo *g)
274 setsock(fdp, s, easy, action, g);
330 /* Create a new easy handle, and add it to the global curl_multi */
339 conn->easy = curl_easy_init();
340 if(!conn->easy) {
346 curl_easy_setopt(conn->easy, CURLOPT_URL, conn->url);
347 curl_easy_setopt(conn->easy, CURLOPT_WRITEFUNCTION, write_cb);
348 curl_easy_setopt(conn->easy, CURLOPT_WRITEDATA, conn);
349 curl_easy_setopt(conn->easy, CURLOPT_VERBOSE, 1L);
350 curl_easy_setopt(conn->easy, CURLOPT_ERRORBUFFER, conn->error);
351 curl_easy_setopt(conn->easy, CURLOPT_PRIVATE, conn);
352 curl_easy_setopt(conn->easy, CURLOPT_NOPROGRESS, 0L);
353 curl_easy_setopt(conn->easy, CURLOPT_PROGRESSFUNCTION, prog_cb);
354 curl_easy_setopt(conn->easy, CURLOPT_PROGRESSDATA, conn);
355 curl_easy_setopt(conn->easy, CURLOPT_FOLLOWLOCATION, 1L);
357 "Adding easy %p to multi %p (%s)\n", conn->easy, g->multi, url);
358 rc = curl_multi_add_handle(g->multi, conn->easy);