Home
last modified time | relevance | path

Searched refs:easy_setopt (Results 1 – 25 of 70) sorted by relevance

123

/curl/tests/libtest/
H A Dlib1915.c112 easy_setopt(hnd, CURLOPT_URL, URL); in test()
113 easy_setopt(hnd, CURLOPT_CONNECTTIMEOUT, 1L); in test()
114 easy_setopt(hnd, CURLOPT_HSTSREADFUNCTION, hstsread); in test()
115 easy_setopt(hnd, CURLOPT_HSTSREADDATA, &st); in test()
117 easy_setopt(hnd, CURLOPT_HSTSWRITEDATA, &st); in test()
121 easy_setopt(hnd, CURLOPT_VERBOSE, 1L); in test()
131 easy_setopt(hnd, CURLOPT_URL, URL); in test()
132 easy_setopt(hnd, CURLOPT_CONNECTTIMEOUT, 1L); in test()
134 easy_setopt(hnd, CURLOPT_HSTSREADDATA, &st); in test()
136 easy_setopt(hnd, CURLOPT_HSTSWRITEDATA, &st); in test()
[all …]
H A Dlib555.c93 easy_setopt(curl, CURLOPT_URL, URL); in test()
94 easy_setopt(curl, CURLOPT_VERBOSE, 1L); in test()
95 easy_setopt(curl, CURLOPT_HEADER, 1L); in test()
99 easy_setopt(curl, CURLOPT_IOCTLFUNCTION, ioctlcallback); in test()
100 easy_setopt(curl, CURLOPT_IOCTLDATA, &counter); in test()
102 easy_setopt(curl, CURLOPT_READFUNCTION, readcallback); in test()
103 easy_setopt(curl, CURLOPT_READDATA, &counter); in test()
108 easy_setopt(curl, CURLOPT_POST, 1L); in test()
109 easy_setopt(curl, CURLOPT_PROXY, libtest_arg2); in test()
110 easy_setopt(curl, CURLOPT_PROXYUSERPWD, libtest_arg3); in test()
[all …]
H A Dlib1901.c68 easy_setopt(curl, CURLOPT_POSTFIELDSIZE, 4L); in test()
69 easy_setopt(curl, CURLOPT_POSTFIELDS, NULL); in test()
70 easy_setopt(curl, CURLOPT_READFUNCTION, read_callback); in test()
71 easy_setopt(curl, CURLOPT_POST, 1L); in test()
72 easy_setopt(curl, CURLOPT_VERBOSE, 1L); in test()
73 easy_setopt(curl, CURLOPT_HTTP_VERSION, (long)CURL_HTTP_VERSION_1_1); in test()
74 easy_setopt(curl, CURLOPT_URL, URL); in test()
75 easy_setopt(curl, CURLOPT_READDATA, NULL); in test()
84 easy_setopt(curl, CURLOPT_HTTPHEADER, n); in test()
H A Dlib1948.c56 easy_setopt(curl, CURLOPT_UPLOAD, 1L); in test()
57 easy_setopt(curl, CURLOPT_HEADER, 1L); in test()
58 easy_setopt(curl, CURLOPT_READFUNCTION, put_callback); in test()
61 easy_setopt(curl, CURLOPT_READDATA, &pbuf); in test()
62 easy_setopt(curl, CURLOPT_INFILESIZE, (long)strlen(testput)); in test()
63 easy_setopt(curl, CURLOPT_URL, URL); in test()
69 easy_setopt(curl, CURLOPT_POST, 1L); in test()
70 easy_setopt(curl, CURLOPT_POSTFIELDS, testput); in test()
71 easy_setopt(curl, CURLOPT_POSTFIELDSIZE, (long)strlen(testput)); in test()
H A Dlib503.c53 easy_setopt(c, CURLOPT_PROXY, libtest_arg2); /* set in first.c */ in test()
54 easy_setopt(c, CURLOPT_URL, URL); in test()
55 easy_setopt(c, CURLOPT_USERPWD, "test:ing"); in test()
56 easy_setopt(c, CURLOPT_PROXYUSERNAME, "test%20"); in test()
57 easy_setopt(c, CURLOPT_PROXYPASSWORD, "ing%41"); in test()
58 easy_setopt(c, CURLOPT_HTTPPROXYTUNNEL, 1L); in test()
59 easy_setopt(c, CURLOPT_HEADER, 1L); in test()
60 easy_setopt(c, CURLOPT_VERBOSE, 1L); in test()
H A Dlib583.c51 easy_setopt(curl, CURLOPT_USERPWD, libtest_arg2); in test()
52 easy_setopt(curl, CURLOPT_SSH_PUBLIC_KEYFILE, test_argv[3]); in test()
53 easy_setopt(curl, CURLOPT_SSH_PRIVATE_KEYFILE, test_argv[4]); in test()
55 easy_setopt(curl, CURLOPT_UPLOAD, 1L); in test()
56 easy_setopt(curl, CURLOPT_VERBOSE, 1L); in test()
58 easy_setopt(curl, CURLOPT_URL, URL); in test()
59 easy_setopt(curl, CURLOPT_INFILESIZE, (long)5); in test()
H A Dlib1513.c59 easy_setopt(curl, CURLOPT_URL, URL); in test()
60 easy_setopt(curl, CURLOPT_TIMEOUT, (long)7); in test()
61 easy_setopt(curl, CURLOPT_NOSIGNAL, (long)1); in test()
63 easy_setopt(curl, CURLOPT_PROGRESSFUNCTION, progressKiller); in test()
64 easy_setopt(curl, CURLOPT_PROGRESSDATA, NULL); in test()
66 easy_setopt(curl, CURLOPT_NOPROGRESS, (long)0); in test()
H A Dlib1540.c101 easy_setopt(curls, CURLOPT_URL, URL); in test()
102 easy_setopt(curls, CURLOPT_WRITEFUNCTION, write_callback); in test()
103 easy_setopt(curls, CURLOPT_WRITEDATA, &st); in test()
104 easy_setopt(curls, CURLOPT_HEADERFUNCTION, header_callback); in test()
105 easy_setopt(curls, CURLOPT_HEADERDATA, &st); in test()
107 easy_setopt(curls, CURLOPT_XFERINFOFUNCTION, please_continue); in test()
108 easy_setopt(curls, CURLOPT_XFERINFODATA, &st); in test()
109 easy_setopt(curls, CURLOPT_NOPROGRESS, 0L); in test()
114 easy_setopt(curls, CURLOPT_DEBUGFUNCTION, libtest_debug_cb); in test()
115 easy_setopt(curls, CURLOPT_VERBOSE, 1L); in test()
H A Dlib1553.c70 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()
74 easy_setopt(curls, CURLOPT_USERPWD, "u:s"); in test()
75 easy_setopt(curls, CURLOPT_XFERINFOFUNCTION, xferinfo); in test()
76 easy_setopt(curls, CURLOPT_NOPROGRESS, 1L); in test()
81 easy_setopt(curls, CURLOPT_DEBUGFUNCTION, libtest_debug_cb); in test()
82 easy_setopt(curls, CURLOPT_VERBOSE, 1L); in test()
H A Dlib1555.c64 easy_setopt(curl, CURLOPT_URL, URL); in test()
65 easy_setopt(curl, CURLOPT_TIMEOUT, (long)7); in test()
66 easy_setopt(curl, CURLOPT_NOSIGNAL, (long)1); in test()
68 easy_setopt(curl, CURLOPT_PROGRESSFUNCTION, progressCallback); in test()
69 easy_setopt(curl, CURLOPT_PROGRESSDATA, NULL); in test()
71 easy_setopt(curl, CURLOPT_NOPROGRESS, (long)0); in test()
H A Dlib1903.c39 easy_setopt(ch, CURLOPT_URL, URL); in test()
40 easy_setopt(ch, CURLOPT_COOKIEFILE, libtest_arg2); in test()
47 easy_setopt(ch, CURLOPT_URL, URL); in test()
48 easy_setopt(ch, CURLOPT_COOKIEFILE, libtest_arg2); in test()
49 easy_setopt(ch, CURLOPT_COOKIEJAR, libtest_arg3); in test()
H A Dlib2404.c75 easy_setopt(curl[i], CURLOPT_URL, target_url); in test()
77 easy_setopt(curl[i], CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_2_0); in test()
79 easy_setopt(curl[i], CURLOPT_SSL_VERIFYPEER, 0L); in test()
80 easy_setopt(curl[i], CURLOPT_SSL_VERIFYHOST, 0L); in test()
82 easy_setopt(curl[i], CURLOPT_PIPEWAIT, 1L); in test()
84 easy_setopt(curl[i], CURLOPT_VERBOSE, 1L); in test()
86 easy_setopt(curl[i], CURLOPT_HEADER, 1L); in test()
88 easy_setopt(curl[i], CURLOPT_RESOLVE, slist); in test()
90 easy_setopt(curl[i], CURLOPT_STREAM_WEIGHT, (long)128 + i); in test()
H A Dlib2502.c76 easy_setopt(curl[i], CURLOPT_URL, target_url); in test()
78 easy_setopt(curl[i], CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_3ONLY); in test()
79 easy_setopt(curl[i], CURLOPT_CONNECTTIMEOUT_MS, (long)5000); in test()
80 easy_setopt(curl[i], CURLOPT_CAINFO, "./certs/EdelCurlRoot-ca.cacert"); in test()
82 easy_setopt(curl[i], CURLOPT_PIPEWAIT, 1L); in test()
87 easy_setopt(curl[i], CURLOPT_DEBUGFUNCTION, libtest_debug_cb); in test()
88 easy_setopt(curl[i], CURLOPT_VERBOSE, 1L); in test()
90 easy_setopt(curl[i], CURLOPT_HEADER, 1L); in test()
92 easy_setopt(curl[i], CURLOPT_RESOLVE, slist); in test()
H A Dlib1542.c48 easy_setopt(easy, CURLOPT_URL, URL); in test()
52 easy_setopt(easy, CURLOPT_DEBUGDATA, &libtest_debug_config); in test()
53 easy_setopt(easy, CURLOPT_DEBUGFUNCTION, libtest_debug_cb); in test()
54 easy_setopt(easy, CURLOPT_VERBOSE, 1L); in test()
72 easy_setopt(easy, CURLOPT_MAXLIFETIME_CONN, 1L); in test()
H A Dlib2402.c75 easy_setopt(curl[i], CURLOPT_URL, target_url); in test()
77 easy_setopt(curl[i], CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_2_0); in test()
79 easy_setopt(curl[i], CURLOPT_SSL_VERIFYPEER, 0L); in test()
80 easy_setopt(curl[i], CURLOPT_SSL_VERIFYHOST, 0L); in test()
82 easy_setopt(curl[i], CURLOPT_PIPEWAIT, 1L); in test()
84 easy_setopt(curl[i], CURLOPT_VERBOSE, 1L); in test()
86 easy_setopt(curl[i], CURLOPT_HEADER, 1L); in test()
88 easy_setopt(curl[i], CURLOPT_RESOLVE, slist); in test()
H A Dlib653.c46 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()
H A Dlib1511.c38 easy_setopt(curl, CURLOPT_URL, URL); in test()
39 easy_setopt(curl, CURLOPT_HEADER, 1L); in test()
40 easy_setopt(curl, CURLOPT_TIMECONDITION, (long)CURL_TIMECOND_IFMODSINCE); in test()
43 easy_setopt(curl, CURLOPT_TIMEVALUE, 1566210680L); in test()
56 easy_setopt(curl, CURLOPT_TIMEVALUE, 1L); in test()
H A Dlib1906.c41 easy_setopt(curl, CURLOPT_CURLU, curlu); in test()
42 easy_setopt(curl, CURLOPT_ERRORBUFFER, error_buffer); in test()
43 easy_setopt(curl, CURLOPT_VERBOSE, 1L); in test()
45 easy_setopt(curl, CURLOPT_CONNECTTIMEOUT_MS, 5000L); in test()
47 easy_setopt(curl, CURLOPT_PORT, 1L); in test()
66 easy_setopt(curl, CURLOPT_PORT, 0L); in test()
H A Dlib533.c50 easy_setopt(curl, CURLOPT_URL, URL); in test()
51 easy_setopt(curl, CURLOPT_VERBOSE, 1L); in test()
52 easy_setopt(curl, CURLOPT_FAILONERROR, 1L); in test()
81 easy_setopt(curl, CURLOPT_URL, libtest_arg2); in test()
82 easy_setopt(curl, CURLOPT_VERBOSE, 1L); in test()
83 easy_setopt(curl, CURLOPT_FAILONERROR, 1L); in test()
H A Dlib1509.c46 easy_setopt(curl, CURLOPT_PROXY, libtest_arg2); /* set in first.c */ in test()
48 easy_setopt(curl, CURLOPT_WRITEFUNCTION, *WriteOutput); in test()
49 easy_setopt(curl, CURLOPT_HEADERFUNCTION, *WriteHeader); in test()
51 easy_setopt(curl, CURLOPT_HEADER, 1L); in test()
52 easy_setopt(curl, CURLOPT_VERBOSE, 1L); in test()
53 easy_setopt(curl, CURLOPT_URL, URL); in test()
54 easy_setopt(curl, CURLOPT_HTTPPROXYTUNNEL, 1L); in test()
H A Dlib1964.c38 easy_setopt(curl, CURLOPT_VERBOSE, 1L); in test()
39 easy_setopt(curl, CURLOPT_AWS_SIGV4, "xxx"); in test()
40 easy_setopt(curl, CURLOPT_URL, URL); in test()
48 easy_setopt(curl, CURLOPT_CONNECT_TO, connect_to); in test()
56 easy_setopt(curl, CURLOPT_HTTPHEADER, list); in test()
H A Dlib1514.c68 easy_setopt(curl, CURLOPT_URL, URL); in test()
69 easy_setopt(curl, CURLOPT_POST, 1L); in test()
71 easy_setopt(curl, CURLOPT_READFUNCTION, read_callback); in test()
72 easy_setopt(curl, CURLOPT_READDATA, &pooh); in test()
75 easy_setopt(curl, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_0); in test()
H A Dlib1919.c38 easy_setopt(curl, CURLOPT_HTTPAUTH, CURLAUTH_BEARER); in test()
39 easy_setopt(curl, CURLOPT_XOAUTH2_BEARER, in test()
41 easy_setopt(curl, CURLOPT_SASL_AUTHZID, in test()
43 easy_setopt(curl, CURLOPT_URL, URL); in test()
H A Dlib1940.c93 easy_setopt(easy, CURLOPT_URL, URL); in test()
94 easy_setopt(easy, CURLOPT_VERBOSE, 1L); in test()
95 easy_setopt(easy, CURLOPT_FOLLOWLOCATION, 1L); in test()
97 easy_setopt(easy, CURLOPT_WRITEFUNCTION, write_cb); in test()
101 easy_setopt(easy, CURLOPT_PROXY, libtest_arg2); in test()
102 easy_setopt(easy, CURLOPT_HTTPPROXYTUNNEL, 1L); in test()
H A Dlib1510.c68 easy_setopt(curl, CURLOPT_VERBOSE, 1L); in test()
70 easy_setopt(curl, CURLOPT_HEADER, 1L); in test()
72 easy_setopt(curl, CURLOPT_RESOLVE, slist); in test()
74 easy_setopt(curl, CURLOPT_MAXCONNECTS, 3L); in test()
83 easy_setopt(curl, CURLOPT_URL, target_url); in test()

Completed in 43 milliseconds

123