Lines Matching refs:easy
76 static CURLcode set_easy(char *URL, CURL *easy, long option) in set_easy() argument
81 easy_setopt(easy, CURLOPT_URL, URL); in set_easy()
84 easy_setopt(easy, CURLOPT_VERBOSE, 1L); in set_easy()
89 easy_setopt(easy, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_1); in set_easy()
94 easy_setopt(easy, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_2_0); in set_easy()
99 easy_setopt(easy, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_2_0); in set_easy()
100 easy_setopt(easy, CURLOPT_PIPEWAIT, 1L); in set_easy()
105 easy_setopt(easy, CURLOPT_SSL_VERIFYPEER, 0L); in set_easy()
106 easy_setopt(easy, CURLOPT_SSL_VERIFYHOST, 0L); in set_easy()
109 easy_setopt(easy, CURLOPT_HEADER, 1L); in set_easy()
112 easy_setopt(easy, CURLOPT_WRITEFUNCTION, emptyWriteFunc); in set_easy()
232 CURL *easy = NULL; in empty_multi_test() local
257 easy_init(easy); in empty_multi_test()
259 if(set_easy((char *)"http://example.com", easy, TEST_USE_HTTP1) != CURLE_OK) in empty_multi_test()
262 multi_add_handle(multi, easy); in empty_multi_test()
278 curl_multi_remove_handle(multi, easy); in empty_multi_test()
281 curl_easy_cleanup(easy); in empty_multi_test()