Lines Matching refs:CURL
12 * are also available at https://curl.haxx.se/docs/copyright.html.
41 CURL *curl;
48 if((curl = curl_easy_init()) == NULL) {
54 test_setopt(curl, CURLOPT_URL, URL);
55 test_setopt(curl, CURLOPT_CONNECT_ONLY, 1L);
56 test_setopt(curl, CURLOPT_VERBOSE, 1L);
58 res = curl_easy_perform(curl);
75 res = curl_easy_send(curl, request, strlen(request), &iolen);
83 res = curl_easy_recv(curl, buf, 1024, &iolen);
102 curl_easy_cleanup(curl);