Lines Matching refs:curl
12 * are also available at https://curl.se/docs/copyright.html.
21 * SPDX-License-Identifier: curl
30 CURL *curl = NULL;
39 curl = curl_easy_init();
40 if(!curl) {
49 test_setopt(curl, CURLOPT_URL, newURL);
50 test_setopt(curl, CURLOPT_VERBOSE, 1L);
51 test_setopt(curl, CURLOPT_IGNORE_CONTENT_LENGTH, 1L);
52 test_setopt(curl, CURLOPT_FTP_FILEMETHOD, (long) CURLFTPMETHOD_SINGLECWD);
53 res = curl_easy_perform(curl);
59 test_setopt(curl, CURLOPT_URL, newURL);
60 res = curl_easy_perform(curl);
66 curl_easy_cleanup(curl);
67 curl = curl_easy_init();
68 if(!curl) {
76 test_setopt(curl, CURLOPT_URL, newURL);
77 test_setopt(curl, CURLOPT_VERBOSE, 1L);
78 test_setopt(curl, CURLOPT_IGNORE_CONTENT_LENGTH, 1L);
79 test_setopt(curl, CURLOPT_FTP_FILEMETHOD, (long) CURLFTPMETHOD_NOCWD);
80 res = curl_easy_perform(curl);
87 test_setopt(curl, CURLOPT_URL, newURL);
88 test_setopt(curl, CURLOPT_FTP_FILEMETHOD, (long) CURLFTPMETHOD_SINGLECWD);
89 res = curl_easy_perform(curl);
95 test_setopt(curl, CURLOPT_URL, newURL);
96 test_setopt(curl, CURLOPT_FTP_FILEMETHOD, (long) CURLFTPMETHOD_NOCWD);
97 res = curl_easy_perform(curl);
103 curl_easy_cleanup(curl);
104 curl = curl_easy_init();
105 if(!curl) {
118 test_setopt(curl, CURLOPT_URL, URL);
119 test_setopt(curl, CURLOPT_VERBOSE, 1L);
120 test_setopt(curl, CURLOPT_NOBODY, 1L);
121 test_setopt(curl, CURLOPT_FTP_FILEMETHOD, (long) CURLFTPMETHOD_NOCWD);
122 test_setopt(curl, CURLOPT_QUOTE, slist);
123 res = curl_easy_perform(curl);
129 curl_easy_cleanup(curl);
130 curl = curl_easy_init();
131 if(!curl) {
137 test_setopt(curl, CURLOPT_URL, URL);
138 test_setopt(curl, CURLOPT_VERBOSE, 1L);
139 test_setopt(curl, CURLOPT_NOBODY, 1L);
140 test_setopt(curl, CURLOPT_FTP_FILEMETHOD, (long) CURLFTPMETHOD_SINGLECWD);
141 test_setopt(curl, CURLOPT_QUOTE, slist);
142 res = curl_easy_perform(curl);
149 curl_easy_reset(curl);
150 test_setopt(curl, CURLOPT_URL, URL);
151 test_setopt(curl, CURLOPT_VERBOSE, 1L);
152 test_setopt(curl, CURLOPT_NOBODY, 1L);
153 test_setopt(curl, CURLOPT_FTP_FILEMETHOD, (long) CURLFTPMETHOD_NOCWD);
154 test_setopt(curl, CURLOPT_QUOTE, slist);
155 res = curl_easy_perform(curl);
164 curl_easy_cleanup(curl);