Lines Matching refs:testeh
49 static CURL *testeh[NUM_HANDLES]; variable
56 res_easy_init(testeh[num]); in init()
60 res_easy_setopt(testeh[num], CURLOPT_URL, url); in init()
64 res_easy_setopt(testeh[num], CURLOPT_PROXY, PROXY); in init()
68 res_easy_setopt(testeh[num], CURLOPT_PROXYUSERPWD, userpwd); in init()
72 res_easy_setopt(testeh[num], CURLOPT_PROXYAUTH, (long)CURLAUTH_ANY); in init()
76 res_easy_setopt(testeh[num], CURLOPT_VERBOSE, 1L); in init()
80 res_easy_setopt(testeh[num], CURLOPT_HEADER, 1L); in init()
84 res_easy_setopt(testeh[num], CURLOPT_HTTPHEADER, headers); /* custom Host: */ in init()
88 res_multi_add_handle(cm, testeh[num]); in init()
96 curl_easy_cleanup(testeh[num]); in init()
97 testeh[num] = NULL; in init()
177 if(testeh[i] == e) { in loop()
178 testeh[i] = NULL; in loop()
204 testeh[i] = NULL; in test()
246 curl_multi_remove_handle(cm, testeh[i]); in test()
247 curl_easy_cleanup(testeh[i]); in test()