Lines Matching refs:easy
36 static CURL *easy[MAX_EASY_HANDLES]; variable
42 ssize_t idx = ((CURL **) data) - easy; in callback()
62 code = curl_easy_getinfo(easy[idx], CURLINFO_LASTSOCKET, &longdata); in callback()
116 easy[i] = NULL; in test()
145 easy_init(easy[num_handles]); in test()
149 easy_setopt(easy[num_handles], CURLOPT_HTTPAUTH, CURLAUTH_NTLM); in test()
152 easy_setopt(easy[num_handles], CURLOPT_HTTPAUTH, CURLAUTH_BASIC); in test()
154 easy_setopt(easy[num_handles], CURLOPT_FRESH_CONNECT, 1L); in test()
155 easy_setopt(easy[num_handles], CURLOPT_URL, full_url); in test()
156 easy_setopt(easy[num_handles], CURLOPT_VERBOSE, 1L); in test()
157 easy_setopt(easy[num_handles], CURLOPT_HTTPGET, 1L); in test()
158 easy_setopt(easy[num_handles], CURLOPT_USERPWD, "testuser:testpass"); in test()
159 easy_setopt(easy[num_handles], CURLOPT_WRITEFUNCTION, callback); in test()
160 easy_setopt(easy[num_handles], CURLOPT_WRITEDATA, easy + num_handles); in test()
161 easy_setopt(easy[num_handles], CURLOPT_HEADER, 1L); in test()
163 multi_add_handle(multi, easy[num_handles]); in test()
271 curl_multi_remove_handle(multi, easy[i]); in test()
272 curl_easy_cleanup(easy[i]); in test()