Home
last modified time | relevance | path

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

/external/curl/tests/libtest/
Dlib560.c42 CURL *http_handle = NULL; in test() local
54 easy_init(http_handle); in test()
57 easy_setopt(http_handle, CURLOPT_URL, URL); in test()
58 easy_setopt(http_handle, CURLOPT_HEADER, 1L); in test()
59 easy_setopt(http_handle, CURLOPT_SSL_VERIFYPEER, 0L); in test()
60 easy_setopt(http_handle, CURLOPT_SSL_VERIFYHOST, 0L); in test()
66 multi_add_handle(multi_handle, http_handle); in test()
109 curl_easy_cleanup(http_handle); in test()
/external/curl/docs/examples/
Dmulti-poll.c39 CURL *http_handle; in main() local
45 http_handle = curl_easy_init(); in main()
47 curl_easy_setopt(http_handle, CURLOPT_URL, "https://www.example.com/"); in main()
51 curl_multi_add_handle(multi_handle, http_handle); in main()
70 curl_multi_remove_handle(multi_handle, http_handle); in main()
71 curl_easy_cleanup(http_handle); in main()
Dmulti-single.c51 CURL *http_handle; in main() local
59 http_handle = curl_easy_init(); in main()
62 curl_easy_setopt(http_handle, CURLOPT_URL, "https://www.example.com/"); in main()
68 curl_multi_add_handle(multi_handle, http_handle); in main()
102 curl_multi_remove_handle(multi_handle, http_handle); in main()
104 curl_easy_cleanup(http_handle); in main()
Dmulti-debugcallback.c131 CURL *http_handle; in main() local
136 http_handle = curl_easy_init(); in main()
139 curl_easy_setopt(http_handle, CURLOPT_URL, "https://www.example.com/"); in main()
141 curl_easy_setopt(http_handle, CURLOPT_DEBUGFUNCTION, my_trace); in main()
142 curl_easy_setopt(http_handle, CURLOPT_VERBOSE, 1L); in main()
148 curl_multi_add_handle(multi_handle, http_handle); in main()
228 curl_easy_cleanup(http_handle); in main()
Dmulti-double.c41 CURL *http_handle; in main() local
47 http_handle = curl_easy_init(); in main()
51 curl_easy_setopt(http_handle, CURLOPT_URL, "https://www.example.com/"); in main()
60 curl_multi_add_handle(multi_handle, http_handle); in main()
139 curl_easy_cleanup(http_handle); in main()