Lines Matching defs:easy
35 of URL's and creates some new easy handles to fetch each URL via the
83 /* Information associated with a specific easy handle */
85 CURL *easy;
95 CURL *easy;
145 /* Check for completed transfers, and remove their easy handles */
152 CURL *easy;
158 easy = msg->easy_handle;
160 curl_easy_getinfo(easy, CURLINFO_PRIVATE, &conn);
161 curl_easy_getinfo(easy, CURLINFO_EFFECTIVE_URL, &eff_url);
163 curl_multi_remove_handle(g->multi, easy);
165 curl_easy_cleanup(easy);
233 f->easy = e;
244 static void addsock(curl_socket_t s, CURL *easy, int action, GlobalInfo *g) {
248 setsock(fdp, s, easy, action, g);
306 /* Create a new easy handle, and add it to the global curl_multi */
316 conn->easy = curl_easy_init();
317 if (!conn->easy) {
323 curl_easy_setopt(conn->easy, CURLOPT_URL, conn->url);
324 curl_easy_setopt(conn->easy, CURLOPT_WRITEFUNCTION, write_cb);
325 curl_easy_setopt(conn->easy, CURLOPT_WRITEDATA, &conn);
326 curl_easy_setopt(conn->easy, CURLOPT_VERBOSE, 1L);
327 curl_easy_setopt(conn->easy, CURLOPT_ERRORBUFFER, conn->error);
328 curl_easy_setopt(conn->easy, CURLOPT_PRIVATE, conn);
329 curl_easy_setopt(conn->easy, CURLOPT_NOPROGRESS, 0L);
330 curl_easy_setopt(conn->easy, CURLOPT_PROGRESSFUNCTION, prog_cb);
331 curl_easy_setopt(conn->easy, CURLOPT_PROGRESSDATA, conn);
333 "Adding easy %p to multi %p (%s)\n", conn->easy, g->multi, url);
334 rc = curl_multi_add_handle(g->multi, conn->easy);