Home
last modified time | relevance | path

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

/curl/tests/libtest/
H A Dlib653.c33 CURL *curls = NULL; in test() local
39 easy_init(curls); in test()
41 mime = curl_mime_init(curls); in test()
46 easy_setopt(curls, CURLOPT_URL, URL); in test()
47 easy_setopt(curls, CURLOPT_HEADER, 1L); in test()
48 easy_setopt(curls, CURLOPT_VERBOSE, 1L); in test()
49 easy_setopt(curls, CURLOPT_MIMEPOST, mime); in test()
50 easy_setopt(curls, CURLOPT_NOPROGRESS, 1L); in test()
52 res = curl_easy_perform(curls); in test()
58 res = curl_easy_perform(curls); in test()
[all …]
H A Dlib1553.c48 CURL *curls = NULL; in test() local
63 easy_init(curls); in test()
65 mime = curl_mime_init(curls); in test()
70 easy_setopt(curls, CURLOPT_URL, URL); in test()
71 easy_setopt(curls, CURLOPT_HEADER, 1L); in test()
72 easy_setopt(curls, CURLOPT_VERBOSE, 1L); in test()
73 easy_setopt(curls, CURLOPT_MIMEPOST, mime); in test()
82 easy_setopt(curls, CURLOPT_VERBOSE, 1L); in test()
84 multi_add_handle(multi, curls); in test()
110 curl_multi_remove_handle(multi, curls); in test()
[all …]
H A Dlib1540.c88 CURL *curls = NULL; in test() local
98 easy_init(curls); in test()
99 st.easy = curls; /* to allow callbacks access */ in test()
101 easy_setopt(curls, CURLOPT_URL, URL); in test()
103 easy_setopt(curls, CURLOPT_WRITEDATA, &st); in test()
105 easy_setopt(curls, CURLOPT_HEADERDATA, &st); in test()
108 easy_setopt(curls, CURLOPT_XFERINFODATA, &st); in test()
109 easy_setopt(curls, CURLOPT_NOPROGRESS, 0L); in test()
115 easy_setopt(curls, CURLOPT_VERBOSE, 1L); in test()
117 res = curl_easy_perform(curls); in test()
[all …]
H A Dlib1541.c115 CURL *curls = NULL; in test() local
125 easy_init(curls); in test()
126 st.easy = curls; /* to allow callbacks access */ in test()
128 easy_setopt(curls, CURLOPT_URL, URL); in test()
130 easy_setopt(curls, CURLOPT_WRITEDATA, &st); in test()
132 easy_setopt(curls, CURLOPT_HEADERDATA, &st); in test()
134 easy_setopt(curls, CURLOPT_NOPROGRESS, 0L); in test()
136 res = curl_easy_perform(curls); in test()
138 check_time(curls, KN(CURLINFO_CONNECT_TIME_T), "done"); in test()
145 check_time(curls, KN(CURLINFO_TOTAL_TIME_T), "done"); in test()
[all …]
H A Dlib1515.c43 CURL *curls; in do_one_request() local
52 easy_init(curls); in do_one_request()
54 easy_setopt(curls, CURLOPT_URL, URL); in do_one_request()
55 easy_setopt(curls, CURLOPT_RESOLVE, resolve_list); in do_one_request()
56 easy_setopt(curls, CURLOPT_DNS_CACHE_TIMEOUT, DNS_TIMEOUT); in do_one_request()
60 easy_setopt(curls, CURLOPT_DEBUGDATA, &libtest_debug_config); in do_one_request()
61 easy_setopt(curls, CURLOPT_DEBUGFUNCTION, libtest_debug_cb); in do_one_request()
62 easy_setopt(curls, CURLOPT_VERBOSE, 1L); in do_one_request()
64 multi_add_handle(m, curls); in do_one_request()
99 curl_multi_remove_handle(m, curls); in do_one_request()
[all …]
H A Dlib1485.c91 CURL *curls = NULL; in test() local
101 easy_init(curls); in test()
102 st.easy = curls; /* to allow callbacks access */ in test()
104 easy_setopt(curls, CURLOPT_URL, URL); in test()
105 easy_setopt(curls, CURLOPT_WRITEFUNCTION, write_callback); in test()
106 easy_setopt(curls, CURLOPT_WRITEDATA, &st); in test()
107 easy_setopt(curls, CURLOPT_HEADERFUNCTION, header_callback); in test()
108 easy_setopt(curls, CURLOPT_HEADERDATA, &st); in test()
110 easy_setopt(curls, CURLOPT_NOPROGRESS, 1L); in test()
112 res = curl_easy_perform(curls); in test()
[all …]
H A Dlib1552.c34 CURL *curls = NULL; in test() local
48 easy_init(curls); in test()
50 easy_setopt(curls, CURLOPT_URL, URL); in test()
51 easy_setopt(curls, CURLOPT_HEADER, 1L); in test()
52 easy_setopt(curls, CURLOPT_VERBOSE, 1L); in test()
53 easy_setopt(curls, CURLOPT_USERPWD, "u:s"); in test()
55 multi_add_handle(multi, curls); in test()
89 curl_easy_cleanup(curls); in test()
H A Dlib1500.c34 CURL *curls = NULL; in test() local
47 easy_init(curls); in test()
49 easy_setopt(curls, CURLOPT_URL, URL); in test()
50 easy_setopt(curls, CURLOPT_HEADER, 1L); in test()
52 multi_add_handle(multi, curls); in test()
86 curl_easy_cleanup(curls); in test()
H A Dlib507.c34 CURL *curls = NULL; in test() local
47 easy_init(curls); in test()
49 easy_setopt(curls, CURLOPT_URL, URL); in test()
50 easy_setopt(curls, CURLOPT_HEADER, 1L); in test()
52 multi_add_handle(multi, curls); in test()
95 curl_easy_cleanup(curls); in test()

Completed in 10 milliseconds