/curl/tests/libtest/ |
H A D | lib653.c | 33 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 D | lib1553.c | 48 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 D | lib1540.c | 88 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 D | lib1541.c | 115 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 D | lib1515.c | 43 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 D | lib1485.c | 91 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 D | lib1552.c | 34 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 D | lib1500.c | 34 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 D | lib507.c | 34 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()
|