Lines Matching refs:curl

30    CURL *curl = NULL;  in test()  local
39 curl = curl_easy_init(); in test()
40 if(!curl) { in test()
49 test_setopt(curl, CURLOPT_URL, newURL); in test()
50 test_setopt(curl, CURLOPT_VERBOSE, 1L); in test()
51 test_setopt(curl, CURLOPT_IGNORE_CONTENT_LENGTH, 1L); in test()
52 test_setopt(curl, CURLOPT_FTP_FILEMETHOD, (long) CURLFTPMETHOD_SINGLECWD); in test()
53 res = curl_easy_perform(curl); in test()
59 test_setopt(curl, CURLOPT_URL, newURL); in test()
60 res = curl_easy_perform(curl); in test()
66 curl_easy_cleanup(curl); in test()
67 curl = curl_easy_init(); in test()
68 if(!curl) { in test()
76 test_setopt(curl, CURLOPT_URL, newURL); in test()
77 test_setopt(curl, CURLOPT_VERBOSE, 1L); in test()
78 test_setopt(curl, CURLOPT_IGNORE_CONTENT_LENGTH, 1L); in test()
79 test_setopt(curl, CURLOPT_FTP_FILEMETHOD, (long) CURLFTPMETHOD_NOCWD); in test()
80 res = curl_easy_perform(curl); in test()
87 test_setopt(curl, CURLOPT_URL, newURL); in test()
88 test_setopt(curl, CURLOPT_FTP_FILEMETHOD, (long) CURLFTPMETHOD_SINGLECWD); in test()
89 res = curl_easy_perform(curl); in test()
95 test_setopt(curl, CURLOPT_URL, newURL); in test()
96 test_setopt(curl, CURLOPT_FTP_FILEMETHOD, (long) CURLFTPMETHOD_NOCWD); in test()
97 res = curl_easy_perform(curl); in test()
103 curl_easy_cleanup(curl); in test()
104 curl = curl_easy_init(); in test()
105 if(!curl) { in test()
118 test_setopt(curl, CURLOPT_URL, URL); in test()
119 test_setopt(curl, CURLOPT_VERBOSE, 1L); in test()
120 test_setopt(curl, CURLOPT_NOBODY, 1L); in test()
121 test_setopt(curl, CURLOPT_FTP_FILEMETHOD, (long) CURLFTPMETHOD_NOCWD); in test()
122 test_setopt(curl, CURLOPT_QUOTE, slist); in test()
123 res = curl_easy_perform(curl); in test()
129 curl_easy_cleanup(curl); in test()
130 curl = curl_easy_init(); in test()
131 if(!curl) { in test()
137 test_setopt(curl, CURLOPT_URL, URL); in test()
138 test_setopt(curl, CURLOPT_VERBOSE, 1L); in test()
139 test_setopt(curl, CURLOPT_NOBODY, 1L); in test()
140 test_setopt(curl, CURLOPT_FTP_FILEMETHOD, (long) CURLFTPMETHOD_SINGLECWD); in test()
141 test_setopt(curl, CURLOPT_QUOTE, slist); in test()
142 res = curl_easy_perform(curl); in test()
149 curl_easy_reset(curl); in test()
150 test_setopt(curl, CURLOPT_URL, URL); in test()
151 test_setopt(curl, CURLOPT_VERBOSE, 1L); in test()
152 test_setopt(curl, CURLOPT_NOBODY, 1L); in test()
153 test_setopt(curl, CURLOPT_FTP_FILEMETHOD, (long) CURLFTPMETHOD_NOCWD); in test()
154 test_setopt(curl, CURLOPT_QUOTE, slist); in test()
155 res = curl_easy_perform(curl); in test()
164 curl_easy_cleanup(curl); in test()