Home
last modified time | relevance | path

Searched refs:handlenum (Results 1 – 1 of 1) sorted by relevance

/external/curl/tests/libtest/
Dlib1900.c112 static void setup_handle(char *base_url, CURLM *m, int handlenum) in setup_handle() argument
116 snprintf(urlbuf, sizeof(urlbuf), "%s%s", base_url, urlstring[handlenum]); in setup_handle()
117 curl_easy_setopt(handles[handlenum], CURLOPT_URL, urlbuf); in setup_handle()
118 curl_easy_setopt(handles[handlenum], CURLOPT_VERBOSE, 1L); in setup_handle()
119 curl_easy_setopt(handles[handlenum], CURLOPT_FAILONERROR, 1L); in setup_handle()
120 curl_easy_setopt(handles[handlenum], CURLOPT_WRITEFUNCTION, write_callback); in setup_handle()
121 curl_easy_setopt(handles[handlenum], CURLOPT_WRITEDATA, NULL); in setup_handle()
122 curl_multi_add_handle(m, handles[handlenum]); in setup_handle()
142 int handlenum = 0; in test() local
178 if(handlenum < num_handles) { in test()
[all …]