Lines Matching defs:curl
12 * are also available at https://curl.se/docs/copyright.html.
21 * SPDX-License-Identifier: curl
32 CURL *curl;
39 curl = curl_easy_init();
40 test_setopt(curl, CURLOPT_SHARE, share);
42 test_setopt(curl, CURLOPT_VERBOSE, 1L);
43 test_setopt(curl, CURLOPT_HEADER, 1L);
44 test_setopt(curl, CURLOPT_PROXY, URL);
45 test_setopt(curl, CURLOPT_URL, "http://localhost/");
47 test_setopt(curl, CURLOPT_COOKIEFILE, "");
50 test_setopt(curl, CURLOPT_COOKIELIST, "Set-Cookie: c1=v1; domain=localhost");
52 res = curl_easy_perform(curl);
61 curl_easy_cleanup(curl);