Home
last modified time | relevance | path

Searched refs:http_handle (Results 1 – 4 of 4) 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-single.c48 CURL *http_handle; in main() local
56 http_handle = curl_easy_init(); in main()
59 curl_easy_setopt(http_handle, CURLOPT_URL, "http://www.example.com/"); in main()
65 curl_multi_add_handle(multi_handle, http_handle); in main()
100 curl_multi_remove_handle(multi_handle, http_handle); in main()
102 curl_easy_cleanup(http_handle); in main()
Dmulti-debugcallback.c125 CURL *http_handle; in main() local
130 http_handle = curl_easy_init(); in main()
133 curl_easy_setopt(http_handle, CURLOPT_URL, "http://www.example.com/"); in main()
135 curl_easy_setopt(http_handle, CURLOPT_DEBUGFUNCTION, my_trace); in main()
136 curl_easy_setopt(http_handle, CURLOPT_VERBOSE, 1L); in main()
142 curl_multi_add_handle(multi_handle, http_handle); in main()
223 curl_easy_cleanup(http_handle); in main()
Dmulti-double.c37 CURL *http_handle; in main() local
43 http_handle = curl_easy_init(); in main()
47 curl_easy_setopt(http_handle, CURLOPT_URL, "http://www.example.com/"); in main()
56 curl_multi_add_handle(multi_handle, http_handle); in main()
136 curl_easy_cleanup(http_handle); in main()