Lines Matching refs:num_handles
98 int num_handles = 0; in test() local
134 easy_init(ntlm_easy[num_handles]); in test()
136 if(num_handles % 3 == 2) { in test()
138 easy_setopt(ntlm_easy[num_handles], CURLOPT_HTTPAUTH, CURLAUTH_NTLM); in test()
142 easy_setopt(ntlm_easy[num_handles], CURLOPT_HTTPAUTH, CURLAUTH_BASIC); in test()
144 easy_setopt(ntlm_easy[num_handles], CURLOPT_FRESH_CONNECT, 1L); in test()
145 easy_setopt(ntlm_easy[num_handles], CURLOPT_URL, full_url); in test()
146 easy_setopt(ntlm_easy[num_handles], CURLOPT_VERBOSE, 1L); in test()
147 easy_setopt(ntlm_easy[num_handles], CURLOPT_HTTPGET, 1L); in test()
148 easy_setopt(ntlm_easy[num_handles], CURLOPT_USERPWD, in test()
150 easy_setopt(ntlm_easy[num_handles], CURLOPT_WRITEFUNCTION, callback); in test()
151 easy_setopt(ntlm_easy[num_handles], CURLOPT_WRITEDATA, in test()
152 ntlm_easy + num_handles); in test()
153 easy_setopt(ntlm_easy[num_handles], CURLOPT_HEADER, 1L); in test()
155 multi_add_handle(multi, ntlm_easy[num_handles]); in test()
156 num_handles += 1; in test()
185 state = num_handles < MAX_EASY_HANDLES ? ReadyForNewHandle in test()
196 __FILE__, __LINE__, num_handles, timeout, running); in test()
215 if(!running && num_handles == MAX_EASY_HANDLES) { in test()