Home | History | Annotate | Download | only in curl

Lines Matching full:m_handle

193     CURL* h = d->m_handle;
244 CURL* h = d->m_handle;
370 // find the node which has same d->m_handle as completed transfer
380 ASSERT(d->m_handle == handle);
392 handleLocalReceiveResponse(d->m_handle, job, d);
403 curl_easy_getinfo(d->m_handle, CURLINFO_EFFECTIVE_URL, &url);
442 ASSERT(d->m_handle);
443 if (!d->m_handle)
446 curl_multi_remove_handle(m_curlMultiHandle, d->m_handle);
447 curl_easy_cleanup(d->m_handle);
448 d->m_handle = 0;
463 curl_easy_setopt(d->m_handle, CURLOPT_POST, TRUE);
464 curl_easy_setopt(d->m_handle, CURLOPT_POSTFIELDSIZE, 0);
478 curl_easy_setopt(d->m_handle, CURLOPT_POSTFIELDSIZE, d->m_postBytes.size());
479 curl_easy_setopt(d->m_handle
529 curl_easy_setopt(d->m_handle, CURLOPT_POSTFIELDSIZE_LARGE, (long long)size);
531 curl_easy_setopt(d->m_handle, CURLOPT_POSTFIELDSIZE_LARGE, (int)size);
534 curl_easy_setopt(d->m_handle, CURLOPT_READFUNCTION, readCallback);
535 curl_easy_setopt(d->m_handle, CURLOPT_READDATA, job);
596 CURLcode ret = curl_easy_perform(handle->m_handle);
603 curl_easy_cleanup(handle->m_handle);
618 CURLMcode ret = curl_multi_add_handle(m_curlMultiHandle, job->getInternal()->m_handle);
652 d->m_handle = curl_easy_init();
656 CURLcode error = curl_easy_pause(d->m_handle, CURLPAUSE_ALL);
664 curl_easy_setopt(d->m_handle, CURLOPT_VERBOSE, 1);
666 curl_easy_setopt(d->m_handle, CURLOPT_PRIVATE, job);
667 curl_easy_setopt(d->m_handle, CURLOPT_ERRORBUFFER, m_curlErrorBuffer);
668 curl_easy_setopt(d->m_handle, CURLOPT_WRITEFUNCTION, writeCallback);
669 curl_easy_setopt(d->m_handle, CURLOPT_WRITEDATA, job);
670 curl_easy_setopt(d->m_handle, CURLOPT_HEADERFUNCTION, headerCallback);
671 curl_easy_setopt(d->m_handle, CURLOPT_WRITEHEADER, job);
672 curl_easy_setopt(d->m_handle, CURLOPT_AUTOREFERER, 1);
673 curl_easy_setopt(d->m_handle, CURLOPT_FOLLOWLOCATION, 1);
674 curl_easy_setopt(d->m_handle, CURLOPT_MAXREDIRS, 10);
675 curl_easy_setopt(d->m_handle, CURLOPT_HTTPAUTH, CURLAUTH_ANY);
676 curl_easy_setopt(d->m_handle, CURLOPT_SHARE, m_curlShareHandle);
677 curl_easy_setopt(d->m_handle, CURLOPT_DNS_CACHE_TIMEOUT, 60 * 5); // 5 minutes
681 curl_easy_setopt(d->m_handle, CURLOPT_SSL_VERIFYPEER, false);
684 curl_easy_setopt(d->m_handle, CURLOPT_CAINFO, m_certificatePath.data());
687 curl_easy_setopt(d->m_handle, CURLOPT_ENCODING, "");
694 curl_easy_setopt(d->m_handle, CURLOPT_URL, d->m_url);
697 curl_easy_setopt(d->m_handle, CURLOPT_COOKIEFILE, m_cookieJarFileName);
698 curl_easy_setopt(d->m_handle, CURLOPT_COOKIEJAR, m_cookieJarFileName);
717 curl_easy_setopt(d->m_handle, CURLOPT_HTTPGET, TRUE);
723 curl_easy_setopt(d->m_handle, CURLOPT_NOBODY, TRUE);
726 curl_easy_setopt(d->m_handle, CURLOPT_HTTPHEADER, headers);
732 curl_easy_setopt(d->m_handle, CURLOPT_USERPWD, userpass.utf8().data());
737 curl_easy_setopt(d->m_handle, CURLOPT_PROXY, m_proxy.utf8().data());
738 curl_easy_setopt(d->m_handle, CURLOPT_PROXYTYPE, m_proxyType);