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.c47 CURL *curls = NULL; in test() local
62 easy_init(curls); in test()
64 mime = curl_mime_init(curls); in test()
69 easy_setopt(curls, CURLOPT_URL, URL); in test()
70 easy_setopt(curls, CURLOPT_HEADER, 1L); in test()
71 easy_setopt(curls, CURLOPT_VERBOSE, 1L); in test()
72 easy_setopt(curls, CURLOPT_MIMEPOST, mime); in test()
73 easy_setopt(curls, CURLOPT_USERPWD, "u:s"); in test()
77 multi_add_handle(multi, curls); in test()
103 curl_multi_remove_handle(multi, curls); in test()
[all …]
H A Dlib1540.c87 CURL *curls = NULL; in test() local
97 easy_init(curls); in test()
98 st.easy = curls; /* to allow callbacks access */ in test()
100 easy_setopt(curls, CURLOPT_URL, URL); in test()
101 easy_setopt(curls, CURLOPT_WRITEFUNCTION, write_callback); in test()
102 easy_setopt(curls, CURLOPT_WRITEDATA, &st); in test()
104 easy_setopt(curls, CURLOPT_HEADERDATA, &st); in test()
107 easy_setopt(curls, CURLOPT_XFERINFODATA, &st); in test()
108 easy_setopt(curls, CURLOPT_NOPROGRESS, 0L); in test()
110 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()
144 check_time(curls, KN(CURLINFO_TOTAL_TIME_T), "done"); in test()
[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 Dlib1515.c54 CURL *curls; in do_one_request() local
63 easy_init(curls); in do_one_request()
65 easy_setopt(curls, CURLOPT_URL, URL); in do_one_request()
66 easy_setopt(curls, CURLOPT_RESOLVE, resolve_list); in do_one_request()
67 easy_setopt(curls, CURLOPT_DEBUGFUNCTION, debug_callback); in do_one_request()
68 easy_setopt(curls, CURLOPT_VERBOSE, 1); in do_one_request()
69 easy_setopt(curls, CURLOPT_DNS_CACHE_TIMEOUT, DNS_TIMEOUT); in do_one_request()
71 multi_add_handle(m, curls); in do_one_request()
98 if(msg && msg->msg == CURLMSG_DONE && msg->easy_handle == curls) { in do_one_request()
106 curl_multi_remove_handle(m, curls); in do_one_request()
[all …]
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 17 milliseconds