Home
last modified time | relevance | path

Searched refs:curl (Results 76 – 100 of 1829) sorted by relevance

12345678910>>...74

/curl/docs/examples/
H A Dimap-delete.c41 CURL *curl; in main() local
44 curl = curl_easy_init(); in main()
45 if(curl) { in main()
47 curl_easy_setopt(curl, CURLOPT_USERNAME, "user"); in main()
48 curl_easy_setopt(curl, CURLOPT_PASSWORD, "secret"); in main()
51 curl_easy_setopt(curl, CURLOPT_URL, "imap://imap.example.com"); in main()
54 curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "DELETE FOLDER"); in main()
57 res = curl_easy_perform(curl); in main()
65 curl_easy_cleanup(curl); in main()
H A Dimap-examine.c41 CURL *curl; in main() local
44 curl = curl_easy_init(); in main()
45 if(curl) { in main()
47 curl_easy_setopt(curl, CURLOPT_USERNAME, "user"); in main()
48 curl_easy_setopt(curl, CURLOPT_PASSWORD, "secret"); in main()
51 curl_easy_setopt(curl, CURLOPT_URL, "imap://imap.example.com"); in main()
54 curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "EXAMINE OUTBOX"); in main()
57 res = curl_easy_perform(curl); in main()
65 curl_easy_cleanup(curl); in main()
H A Dimap-lsub.c41 CURL *curl; in main() local
44 curl = curl_easy_init(); in main()
45 if(curl) { in main()
47 curl_easy_setopt(curl, CURLOPT_USERNAME, "user"); in main()
48 curl_easy_setopt(curl, CURLOPT_PASSWORD, "secret"); in main()
51 curl_easy_setopt(curl, CURLOPT_URL, "imap://imap.example.com"); in main()
55 curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "LSUB \"\" *"); in main()
58 res = curl_easy_perform(curl); in main()
66 curl_easy_cleanup(curl); in main()
H A Dimap-copy.c41 CURL *curl; in main() local
44 curl = curl_easy_init(); in main()
45 if(curl) { in main()
47 curl_easy_setopt(curl, CURLOPT_USERNAME, "user"); in main()
48 curl_easy_setopt(curl, CURLOPT_PASSWORD, "secret"); in main()
51 curl_easy_setopt(curl, CURLOPT_URL, "imap://imap.example.com/INBOX"); in main()
54 curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "COPY 1 FOLDER"); in main()
61 res = curl_easy_perform(curl); in main()
69 curl_easy_cleanup(curl); in main()
H A Dconnect-to.c33 CURL *curl; in main() local
47 curl = curl_easy_init(); in main()
48 if(curl) { in main()
49 curl_easy_setopt(curl, CURLOPT_CONNECT_TO, host); in main()
50 curl_easy_setopt(curl, CURLOPT_VERBOSE, 1L); in main()
51 curl_easy_setopt(curl, CURLOPT_URL, "https://curl.se/"); in main()
56 curl_easy_setopt(curl, CURLOPT_SSL_VERIFYHOST, 0L); in main()
61 res = curl_easy_perform(curl); in main()
64 curl_easy_cleanup(curl); in main()
H A Dsmtp-authzid.c97 CURL *curl; in main() local
102 curl = curl_easy_init(); in main()
103 if(curl) { in main()
109 curl_easy_setopt(curl, CURLOPT_USERNAME, "kurt"); in main()
110 curl_easy_setopt(curl, CURLOPT_PASSWORD, "xipj3plmq"); in main()
113 curl_easy_setopt(curl, CURLOPT_SASL_AUTHZID, "ursel"); in main()
125 curl_easy_setopt(curl, CURLOPT_MAIL_FROM, FROM_ADDR); in main()
130 curl_easy_setopt(curl, CURLOPT_MAIL_RCPT, recipients); in main()
137 curl_easy_setopt(curl, CURLOPT_UPLOAD, 1L); in main()
140 res = curl_easy_perform(curl); in main()
[all …]
H A Dcertinfo.c41 CURL *curl; in main() local
46 curl = curl_easy_init(); in main()
47 if(curl) { in main()
50 curl_easy_setopt(curl, CURLOPT_WRITEFUNCTION, wrfu); in main()
52 curl_easy_setopt(curl, CURLOPT_SSL_VERIFYPEER, 0L); in main()
53 curl_easy_setopt(curl, CURLOPT_SSL_VERIFYHOST, 0L); in main()
55 curl_easy_setopt(curl, CURLOPT_VERBOSE, 0L); in main()
56 curl_easy_setopt(curl, CURLOPT_CERTINFO, 1L); in main()
58 res = curl_easy_perform(curl); in main()
63 res = curl_easy_getinfo(curl, CURLINFO_CERTINFO, &certinfo); in main()
[all …]
H A Dhttps.c33 CURL *curl; in main() local
38 curl = curl_easy_init(); in main()
39 if(curl) { in main()
40 curl_easy_setopt(curl, CURLOPT_URL, "https://example.com/"); in main()
53 curl_easy_setopt(curl, CURLOPT_SSL_VERIFYPEER, 0L); in main()
63 curl_easy_setopt(curl, CURLOPT_SSL_VERIFYHOST, 0L); in main()
67 curl_easy_setopt(curl, CURLOPT_CA_CACHE_TIMEOUT, 604800L); in main()
70 res = curl_easy_perform(curl); in main()
77 curl_easy_cleanup(curl); in main()
H A Dlocalport.c33 CURL *curl; in main() local
36 curl = curl_easy_init(); in main()
37 if(curl) { in main()
39 curl_easy_setopt(curl, CURLOPT_LOCALPORT, 20000L); in main()
43 curl_easy_setopt(curl, CURLOPT_LOCALPORTRANGE, 10L); in main()
44 curl_easy_setopt(curl, CURLOPT_URL, "https://curl.se/"); in main()
46 res = curl_easy_perform(curl); in main()
49 curl_easy_cleanup(curl); in main()
/curl/tests/libtest/
H A Dlib590.c44 CURL *curl; in test() local
51 curl = curl_easy_init(); in test()
52 if(!curl) { in test()
58 test_setopt(curl, CURLOPT_URL, URL); in test()
59 test_setopt(curl, CURLOPT_HEADER, 1L); in test()
60 test_setopt(curl, CURLOPT_PROXYAUTH, in test()
62 test_setopt(curl, CURLOPT_PROXY, libtest_arg2); /* set in first.c */ in test()
63 test_setopt(curl, CURLOPT_PROXYUSERPWD, "me:password"); in test()
65 res = curl_easy_perform(curl); in test()
69 curl_easy_cleanup(curl); in test()
H A Dlib1959.c30 CURL *curl; in test() local
40 curl = curl_easy_init(); in test()
41 if(!curl) { in test()
47 test_setopt(curl, CURLOPT_VERBOSE, 1L); in test()
48 test_setopt(curl, CURLOPT_AWS_SIGV4, "xxx"); in test()
49 test_setopt(curl, CURLOPT_USERPWD, "xxx"); in test()
50 test_setopt(curl, CURLOPT_HEADER, 0L); in test()
51 test_setopt(curl, CURLOPT_URL, URL); in test()
62 test_setopt(curl, CURLOPT_HTTPHEADER, list); in test()
64 res = curl_easy_perform(curl); in test()
[all …]
H A Dlib1956.c30 CURL *curl; in test() local
40 curl = curl_easy_init(); in test()
41 if(!curl) { in test()
47 test_setopt(curl, CURLOPT_VERBOSE, 1L); in test()
48 test_setopt(curl, CURLOPT_AWS_SIGV4, "xxx"); in test()
49 test_setopt(curl, CURLOPT_USERPWD, "xxx"); in test()
50 test_setopt(curl, CURLOPT_HEADER, 0L); in test()
51 test_setopt(curl, CURLOPT_URL, URL); in test()
61 test_setopt(curl, CURLOPT_HTTPHEADER, list); in test()
63 res = curl_easy_perform(curl); in test()
[all …]
H A Dlib1957.c30 CURL *curl; in test() local
40 curl = curl_easy_init(); in test()
41 if(!curl) { in test()
47 test_setopt(curl, CURLOPT_VERBOSE, 1L); in test()
48 test_setopt(curl, CURLOPT_AWS_SIGV4, "xxx"); in test()
49 test_setopt(curl, CURLOPT_USERPWD, "xxx"); in test()
50 test_setopt(curl, CURLOPT_HEADER, 0L); in test()
51 test_setopt(curl, CURLOPT_URL, URL); in test()
60 test_setopt(curl, CURLOPT_HTTPHEADER, list); in test()
62 res = curl_easy_perform(curl); in test()
[all …]
H A Dlib1958.c30 CURL *curl; in test() local
40 curl = curl_easy_init(); in test()
41 if(!curl) { in test()
47 test_setopt(curl, CURLOPT_VERBOSE, 1L); in test()
48 test_setopt(curl, CURLOPT_AWS_SIGV4, "xxx"); in test()
49 test_setopt(curl, CURLOPT_USERPWD, "xxx"); in test()
50 test_setopt(curl, CURLOPT_HEADER, 0L); in test()
51 test_setopt(curl, CURLOPT_URL, URL); in test()
60 test_setopt(curl, CURLOPT_HTTPHEADER, list); in test()
62 res = curl_easy_perform(curl); in test()
[all …]
H A Dlib583.c39 CURL *curl = NULL; in test() local
49 easy_init(curl); in test()
51 easy_setopt(curl, CURLOPT_USERPWD, libtest_arg2); in test()
52 easy_setopt(curl, CURLOPT_SSH_PUBLIC_KEYFILE, test_argv[3]); 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()
61 multi_add_handle(multiHandle, curl); in test()
73 mres = curl_multi_remove_handle(multiHandle, curl); in test()
[all …]
H A Dlib1518.c42 CURL *curl; in test() local
51 curl = curl_easy_init(); in test()
52 if(!curl) { in test()
67 test_setopt(curl, CURLOPT_CURLU, urlu); in test()
69 test_setopt(curl, CURLOPT_FOLLOWLOCATION, 1L); in test()
71 test_setopt(curl, CURLOPT_URL, URL); in test()
73 test_setopt(curl, CURLOPT_FOLLOWLOCATION, 0L); in test()
78 res = curl_easy_perform(curl); in test()
83 curl_easy_getinfo(curl, CURLINFO_REDIRECT_URL, &redirectUrl); in test()
84 test_setopt(curl, CURLOPT_WRITEFUNCTION, writecb); in test()
[all …]
H A Dlib1948.c46 CURL *curl; in test() local
53 easy_init(curl); in test()
56 easy_setopt(curl, CURLOPT_UPLOAD, 1L); in test()
57 easy_setopt(curl, CURLOPT_HEADER, 1L); in test()
61 easy_setopt(curl, CURLOPT_READDATA, &pbuf); in test()
63 easy_setopt(curl, CURLOPT_URL, URL); in test()
64 res = curl_easy_perform(curl); in test()
69 easy_setopt(curl, CURLOPT_POST, 1L); in test()
70 easy_setopt(curl, CURLOPT_POSTFIELDS, testput); in test()
72 res = curl_easy_perform(curl); in test()
[all …]
H A Dlib500.c50 static void setupcallbacks(CURL *curl) in setupcallbacks() argument
65 CURL *curl; in test() local
73 curl = curl_easy_init(); in test()
74 if(!curl) { in test()
80 test_setopt(curl, CURLOPT_URL, URL); in test()
81 test_setopt(curl, CURLOPT_HEADER, 1L); in test()
87 test_setopt(curl, CURLOPT_VERBOSE, 1L); in test()
90 test_setopt(curl, CURLOPT_FTPPORT, "-"); in test()
92 setupcallbacks(curl); in test()
94 res = curl_easy_perform(curl); in test()
[all …]
H A Dlib510.c66 CURL *curl; in test() local
77 curl = curl_easy_init(); in test()
78 if(!curl) { in test()
87 curl_easy_cleanup(curl); in test()
93 test_setopt(curl, CURLOPT_URL, URL); in test()
96 test_setopt(curl, CURLOPT_POST, 1L); in test()
102 test_setopt(curl, CURLOPT_READDATA, &pooh); in test()
105 test_setopt(curl, CURLOPT_VERBOSE, 1L); in test()
108 test_setopt(curl, CURLOPT_HEADER, 1L); in test()
119 res = curl_easy_perform(curl); in test()
[all …]
H A Dlib555.c82 CURL *curl = NULL; in test() local
91 easy_init(curl); in test()
93 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()
103 easy_setopt(curl, CURLOPT_READDATA, &counter); in test()
108 easy_setopt(curl, CURLOPT_POST, 1L); in test()
111 easy_setopt(curl, CURLOPT_PROXYAUTH, in test()
116 multi_add_handle(m, curl); in test()
150 curl_multi_remove_handle(m, curl); in test()
[all …]
H A Dlib1529.c31 CURL *curl = NULL; in test() local
42 curl = curl_easy_init(); in test()
43 if(!curl) { in test()
49 test_setopt(curl, CURLOPT_URL, bURL); in test()
50 test_setopt(curl, CURLOPT_PROXY, libtest_arg2); in test()
51 test_setopt(curl, CURLOPT_VERBOSE, 1L); in test()
52 test_setopt(curl, CURLOPT_PROXYTYPE, CURLPROXY_HTTP); in test()
53 test_setopt(curl, CURLOPT_HEADER, 1L); in test()
55 res = curl_easy_perform(curl); in test()
59 curl_easy_cleanup(curl); in test()
H A Dlib1551.c32 CURL *curl; in test() local
36 curl = curl_easy_init(); in test()
37 if(curl) { in test()
38 curl_easy_setopt(curl, CURLOPT_URL, URL); in test()
39 curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1L); in test()
40 curl_easy_setopt(curl, CURLOPT_VERBOSE, 1L); in test()
41 res = curl_easy_perform(curl); in test()
46 res = curl_easy_perform(curl); in test()
50 curl_easy_cleanup(curl); in test()
H A Dlib533.c39 CURL *curl = NULL; in test() local
48 easy_init(curl); in test()
50 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()
56 multi_add_handle(m, curl); in test()
76 curl_multi_remove_handle(m, curl); in test()
80 curl_easy_reset(curl); in test()
82 easy_setopt(curl, CURLOPT_VERBOSE, 1L); in test()
86 multi_add_handle(m, curl); in test()
[all …]
H A Dlib506.c135 CURL *curl; in test_fire() local
137 curl = curl_easy_init(); in test_fire()
138 if(!curl) { in test_fire()
160 curl_easy_cleanup(curl); in test_fire()
182 CURL *curl; in test() local
237 curl = curl_easy_init(); in test()
238 if(!curl) { in test()
261 curl_easy_cleanup(curl); in test()
283 curl = curl_easy_init(); in test()
284 if(!curl) { in test()
[all …]
/curl/
H A DRELEASE-NOTES1 curl and libcurl 8.11.0
3 Public curl releases: 262
99 For all changes ever done in curl:
101 See https://curl.se/changes.html
123 [1] = https://curl.se/bug/?i=14938
124 [2] = https://curl.se/bug/?i=14942
125 [3] = https://curl.se/bug/?i=14958
126 [4] = https://curl.se/bug/?i=14941
127 [5] = https://curl.se/bug/?i=14818
128 [6] = https://curl.se/bug/?i=14728
[all …]

Completed in 39 milliseconds

12345678910>>...74