Lines Matching full:curl
12 * are also available at https://curl.se/docs/copyright.html.
28 CURL *curl = NULL; in test() local
37 curl = curl_easy_init(); in test()
38 if(!curl) { in test()
47 test_setopt(curl, CURLOPT_URL, newURL); in test()
48 test_setopt(curl, CURLOPT_VERBOSE, 1L); in test()
49 test_setopt(curl, CURLOPT_IGNORE_CONTENT_LENGTH, 1L); in test()
50 test_setopt(curl, CURLOPT_FTP_FILEMETHOD, (long) CURLFTPMETHOD_SINGLECWD); in test()
51 res = curl_easy_perform(curl); in test()
55 test_setopt(curl, CURLOPT_URL, newURL); in test()
56 res = curl_easy_perform(curl); in test()
60 curl_easy_cleanup(curl); in test()
61 curl = curl_easy_init(); in test()
62 if(!curl) { in test()
70 test_setopt(curl, CURLOPT_URL, newURL); in test()
71 test_setopt(curl, CURLOPT_VERBOSE, 1L); in test()
72 test_setopt(curl, CURLOPT_IGNORE_CONTENT_LENGTH, 1L); in test()
73 test_setopt(curl, CURLOPT_FTP_FILEMETHOD, (long) CURLFTPMETHOD_NOCWD); in test()
74 res = curl_easy_perform(curl); in test()
79 test_setopt(curl, CURLOPT_URL, newURL); in test()
80 test_setopt(curl, CURLOPT_FTP_FILEMETHOD, (long) CURLFTPMETHOD_SINGLECWD); in test()
81 res = curl_easy_perform(curl); in test()
85 test_setopt(curl, CURLOPT_URL, newURL); in test()
86 test_setopt(curl, CURLOPT_FTP_FILEMETHOD, (long) CURLFTPMETHOD_NOCWD); in test()
87 res = curl_easy_perform(curl); in test()
91 curl_easy_cleanup(curl); in test()
92 curl = curl_easy_init(); in test()
93 if(!curl) { in test()
106 test_setopt(curl, CURLOPT_URL, URL); in test()
107 test_setopt(curl, CURLOPT_VERBOSE, 1L); in test()
108 test_setopt(curl, CURLOPT_NOBODY, 1L); in test()
109 test_setopt(curl, CURLOPT_FTP_FILEMETHOD, (long) CURLFTPMETHOD_NOCWD); in test()
110 test_setopt(curl, CURLOPT_QUOTE, slist); in test()
111 res = curl_easy_perform(curl); in test()
115 curl_easy_cleanup(curl); in test()
116 curl = curl_easy_init(); in test()
117 if(!curl) { in test()
123 test_setopt(curl, CURLOPT_URL, URL); in test()
124 test_setopt(curl, CURLOPT_VERBOSE, 1L); in test()
125 test_setopt(curl, CURLOPT_NOBODY, 1L); in test()
126 test_setopt(curl, CURLOPT_FTP_FILEMETHOD, (long) CURLFTPMETHOD_SINGLECWD); in test()
127 test_setopt(curl, CURLOPT_QUOTE, slist); in test()
128 res = curl_easy_perform(curl); in test()
133 curl_easy_reset(curl); in test()
134 test_setopt(curl, CURLOPT_URL, URL); in test()
135 test_setopt(curl, CURLOPT_VERBOSE, 1L); in test()
136 test_setopt(curl, CURLOPT_NOBODY, 1L); in test()
137 test_setopt(curl, CURLOPT_FTP_FILEMETHOD, (long) CURLFTPMETHOD_NOCWD); in test()
138 test_setopt(curl, CURLOPT_QUOTE, slist); in test()
139 res = curl_easy_perform(curl); in test()
146 curl_easy_cleanup(curl); in test()