Home | History | Annotate | Download | only in libtest

Lines Matching refs:CURL

12  * are also available at https://curl.haxx.se/docs/copyright.html.
53 CURL *curl;
61 if((curl = curl_easy_init()) == NULL) {
68 test_setopt(curl, CURLOPT_URL, URL);
71 test_setopt(curl, CURLOPT_POST, 1L);
75 test_setopt(curl, CURLOPT_TRANSFERTEXT, 1L);
79 test_setopt(curl, CURLOPT_POSTFIELDSIZE, data_size);
80 test_setopt(curl, CURLOPT_POSTFIELDS, data);
83 test_setopt(curl, CURLOPT_NOPROGRESS, 0L);
84 test_setopt(curl, CURLOPT_PROGRESSFUNCTION, progress_callback);
89 test_setopt(curl, CURLOPT_VERBOSE, 1L);
92 test_setopt(curl, CURLOPT_HEADER, 1L);
95 res = curl_easy_perform(curl);
100 curl_easy_cleanup(curl);