Lines Matching refs:curl

39         curl_glue_remove_and_free(j->glue, j->curl);  in pull_job_unref()
101 curl_glue_remove_and_free(j->glue, j->curl); in pull_job_restart()
102 j->curl = NULL; in pull_job_restart()
125 void pull_job_curl_on_finished(CurlGlue *g, CURL *curl, CURLcode result) { in pull_job_curl_on_finished() argument
131 if (curl_easy_getinfo(curl, CURLINFO_PRIVATE, (char **)&j) != CURLE_OK) in pull_job_curl_on_finished()
142 code = curl_easy_getinfo(curl, CURLINFO_PROTOCOL, &protocol); in pull_job_curl_on_finished()
151 code = curl_easy_getinfo(curl, CURLINFO_RESPONSE_CODE, &status); in pull_job_curl_on_finished()
179 … code = curl_easy_getinfo(j->curl, CURLINFO_RESPONSE_CODE, &status); in pull_job_curl_on_finished()
561 code = curl_easy_getinfo(j->curl, CURLINFO_RESPONSE_CODE, &status); in pull_job_header_callback()
726 r = curl_glue_make(&j->curl, j->url, j); in pull_job_begin()
757 if (curl_easy_setopt(j->curl, CURLOPT_HTTPHEADER, j->request_header) != CURLE_OK) in pull_job_begin()
761 if (curl_easy_setopt(j->curl, CURLOPT_WRITEFUNCTION, pull_job_write_callback) != CURLE_OK) in pull_job_begin()
764 if (curl_easy_setopt(j->curl, CURLOPT_WRITEDATA, j) != CURLE_OK) in pull_job_begin()
767 if (curl_easy_setopt(j->curl, CURLOPT_HEADERFUNCTION, pull_job_header_callback) != CURLE_OK) in pull_job_begin()
770 if (curl_easy_setopt(j->curl, CURLOPT_HEADERDATA, j) != CURLE_OK) in pull_job_begin()
773 … if (curl_easy_setopt(j->curl, CURLOPT_XFERINFOFUNCTION, pull_job_progress_callback) != CURLE_OK) in pull_job_begin()
776 if (curl_easy_setopt(j->curl, CURLOPT_XFERINFODATA, j) != CURLE_OK) in pull_job_begin()
779 if (curl_easy_setopt(j->curl, CURLOPT_NOPROGRESS, 0) != CURLE_OK) in pull_job_begin()
782 r = curl_glue_add(j->glue, j->curl); in pull_job_begin()