Lines Matching refs:easy
35 static CURL *easy[MAX_EASY_HANDLES]; variable
41 ssize_t idx = ((CURL **) data) - easy; in callback()
51 code = curl_easy_getinfo(easy[idx], CURLINFO_LASTSOCKET, &longdata); in callback()
106 easy[i] = NULL; in test()
135 easy_init(easy[num_handles]); in test()
139 easy_setopt(easy[num_handles], CURLOPT_HTTPAUTH, CURLAUTH_NTLM); in test()
143 easy_setopt(easy[num_handles], CURLOPT_HTTPAUTH, CURLAUTH_BASIC); in test()
145 easy_setopt(easy[num_handles], CURLOPT_FRESH_CONNECT, 1L); in test()
146 easy_setopt(easy[num_handles], CURLOPT_URL, full_url); in test()
147 easy_setopt(easy[num_handles], CURLOPT_VERBOSE, 1L); in test()
148 easy_setopt(easy[num_handles], CURLOPT_HTTPGET, 1L); in test()
149 easy_setopt(easy[num_handles], CURLOPT_USERPWD, "testuser:testpass"); in test()
150 easy_setopt(easy[num_handles], CURLOPT_WRITEFUNCTION, callback); in test()
151 easy_setopt(easy[num_handles], CURLOPT_WRITEDATA, easy + num_handles); in test()
152 easy_setopt(easy[num_handles], CURLOPT_HEADER, 1L); in test()
154 multi_add_handle(multi, easy[num_handles]); in test()
219 curl_multi_remove_handle(multi, easy[i]); in test()
220 curl_easy_cleanup(easy[i]); in test()