Lines Matching defs: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;
174 /* Check for completed transfers, and remove their easy handles */
181 CURL *easy;
187 easy = msg->easy_handle;
189 curl_easy_getinfo(easy, CURLINFO_PRIVATE, &conn);
190 curl_easy_getinfo(easy, CURLINFO_EFFECTIVE_URL, &eff_url);
192 curl_multi_remove_handle(g->multi, easy);
194 curl_easy_cleanup(easy);
283 f->easy = e;
295 static void addsock(curl_socket_t s, CURL *easy, int action, GlobalInfo *g)
300 setsock(fdp, s, easy, action, g);
356 /* Create a new easy handle, and add it to the global curl_multi */
365 conn->easy = curl_easy_init();
366 if(!conn->easy) {
372 curl_easy_setopt(conn->easy, CURLOPT_URL, conn->url);
373 curl_easy_setopt(conn->easy, CURLOPT_WRITEFUNCTION, write_cb);
374 curl_easy_setopt(conn->easy, CURLOPT_WRITEDATA, conn);
375 curl_easy_setopt(conn->easy, CURLOPT_VERBOSE, 1L);
376 curl_easy_setopt(conn->easy, CURLOPT_ERRORBUFFER, conn->error);
377 curl_easy_setopt(conn->easy, CURLOPT_PRIVATE, conn);
378 curl_easy_setopt(conn->easy, CURLOPT_NOPROGRESS, 0L);
379 curl_easy_setopt(conn->easy, CURLOPT_PROGRESSFUNCTION, prog_cb);
380 curl_easy_setopt(conn->easy, CURLOPT_PROGRESSDATA, conn);
381 curl_easy_setopt(conn->easy, CURLOPT_FOLLOWLOCATION, 1L);
382 curl_easy_setopt(conn->easy, CURLOPT_LOW_SPEED_TIME, 3L);
383 curl_easy_setopt(conn->easy, CURLOPT_LOW_SPEED_LIMIT, 10L);
385 "Adding easy %p to multi %p (%s)\n", conn->easy, g->multi, url);
386 rc = curl_multi_add_handle(g->multi, conn->easy);