Home
last modified time | relevance | path

Searched refs:curl_easy_setopt (Results 1 – 25 of 756) sorted by relevance

12345678910>>...31

/aosp_15_r20/external/tensorflow/tensorflow/core/platform/cloud/
H A Dcurl_http_request.cc52 CURLcode curl_easy_setopt(CURL* curl, CURLoption option, in curl_easy_setopt() function in tensorflow::__anonfabf154e0111::LibCurlProxy
54 return ::curl_easy_setopt(curl, option, param); in curl_easy_setopt()
57 CURLcode curl_easy_setopt(CURL* curl, CURLoption option, in curl_easy_setopt() function in tensorflow::__anonfabf154e0111::LibCurlProxy
59 return ::curl_easy_setopt(curl, option, param); in curl_easy_setopt()
62 CURLcode curl_easy_setopt(CURL* curl, CURLoption option, in curl_easy_setopt() function in tensorflow::__anonfabf154e0111::LibCurlProxy
64 return ::curl_easy_setopt(curl, option, param); in curl_easy_setopt()
67 CURLcode curl_easy_setopt(CURL* curl, CURLoption option, in curl_easy_setopt() function in tensorflow::__anonfabf154e0111::LibCurlProxy
70 return ::curl_easy_setopt(curl, option, param); in curl_easy_setopt()
73 CURLcode curl_easy_setopt(CURL* curl, CURLoption option, in curl_easy_setopt() function in tensorflow::__anonfabf154e0111::LibCurlProxy
76 return ::curl_easy_setopt(curl, option, param); in curl_easy_setopt()
[all …]
/aosp_15_r20/external/curl/docs/examples/
H A Dftpuploadresume.c84 curl_easy_setopt(curlhandle, CURLOPT_UPLOAD, 1L); in upload()
86 curl_easy_setopt(curlhandle, CURLOPT_URL, remotepath); in upload()
89 curl_easy_setopt(curlhandle, CURLOPT_SERVER_RESPONSE_TIMEOUT, timeout); in upload()
91 curl_easy_setopt(curlhandle, CURLOPT_HEADERFUNCTION, getcontentlengthfunc); in upload()
92 curl_easy_setopt(curlhandle, CURLOPT_HEADERDATA, &uploaded_len); in upload()
94 curl_easy_setopt(curlhandle, CURLOPT_WRITEFUNCTION, discardfunc); in upload()
96 curl_easy_setopt(curlhandle, CURLOPT_READFUNCTION, readfunc); in upload()
97 curl_easy_setopt(curlhandle, CURLOPT_READDATA, f); in upload()
100 curl_easy_setopt(curlhandle, CURLOPT_FTPPORT, "-"); in upload()
103 curl_easy_setopt(curlhandle, CURLOPT_ACCEPTTIMEOUT_MS, 7000L); in upload()
[all …]
H A Dcrawler.c83 curl_easy_setopt(handle, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_2TLS); in make_handle()
84 curl_easy_setopt(handle, CURLOPT_URL, url); in make_handle()
90 curl_easy_setopt(handle, CURLOPT_WRITEFUNCTION, grow_buffer); in make_handle()
91 curl_easy_setopt(handle, CURLOPT_WRITEDATA, mem); in make_handle()
92 curl_easy_setopt(handle, CURLOPT_PRIVATE, mem); in make_handle()
95 curl_easy_setopt(handle, CURLOPT_ACCEPT_ENCODING, ""); in make_handle()
96 curl_easy_setopt(handle, CURLOPT_TIMEOUT, 5L); in make_handle()
97 curl_easy_setopt(handle, CURLOPT_FOLLOWLOCATION, 1L); in make_handle()
99 curl_easy_setopt(handle, CURLOPT_REDIR_PROTOCOLS_STR, "http,https"); in make_handle()
100 curl_easy_setopt(handle, CURLOPT_AUTOREFERER, 1L); in make_handle()
[all …]
H A Dcacertinmem.c130 curl_easy_setopt(ch, CURLOPT_VERBOSE, 0L); in main()
131 curl_easy_setopt(ch, CURLOPT_HEADER, 0L); in main()
132 curl_easy_setopt(ch, CURLOPT_NOPROGRESS, 1L); in main()
133 curl_easy_setopt(ch, CURLOPT_NOSIGNAL, 1L); in main()
134 curl_easy_setopt(ch, CURLOPT_WRITEFUNCTION, writefunction); in main()
135 curl_easy_setopt(ch, CURLOPT_WRITEDATA, stdout); in main()
136 curl_easy_setopt(ch, CURLOPT_HEADERFUNCTION, writefunction); in main()
137 curl_easy_setopt(ch, CURLOPT_HEADERDATA, stderr); in main()
138 curl_easy_setopt(ch, CURLOPT_SSLCERTTYPE, "PEM"); in main()
139 curl_easy_setopt(ch, CURLOPT_SSL_VERIFYPEER, 1L); in main()
[all …]
H A Dusercertinmem.c184 curl_easy_setopt(ch, CURLOPT_VERBOSE, 0L); in main()
185 curl_easy_setopt(ch, CURLOPT_HEADER, 0L); in main()
186 curl_easy_setopt(ch, CURLOPT_NOPROGRESS, 1L); in main()
187 curl_easy_setopt(ch, CURLOPT_NOSIGNAL, 1L); in main()
188 curl_easy_setopt(ch, CURLOPT_WRITEFUNCTION, writefunction); in main()
189 curl_easy_setopt(ch, CURLOPT_WRITEDATA, stdout); in main()
190 curl_easy_setopt(ch, CURLOPT_HEADERFUNCTION, writefunction); in main()
191 curl_easy_setopt(ch, CURLOPT_HEADERDATA, stderr); in main()
192 curl_easy_setopt(ch, CURLOPT_SSLCERTTYPE, "PEM"); in main()
197 curl_easy_setopt(ch, CURLOPT_SSL_VERIFYPEER, 0L); in main()
[all …]
H A Dsimplessl.c83 curl_easy_setopt(curl, CURLOPT_URL, "HTTPS://your.favourite.ssl.site"); in main()
84 curl_easy_setopt(curl, CURLOPT_HEADERDATA, headerfile); in main()
93 if(curl_easy_setopt(curl, CURLOPT_SSLENGINE, pEngine) != CURLE_OK) { in main()
98 if(curl_easy_setopt(curl, CURLOPT_SSLENGINE_DEFAULT, 1L) != CURLE_OK) { in main()
108 curl_easy_setopt(curl, CURLOPT_SSLCERTTYPE, "PEM"); in main()
111 curl_easy_setopt(curl, CURLOPT_SSLCERT, pCertFile); in main()
116 curl_easy_setopt(curl, CURLOPT_KEYPASSWD, pPassphrase); in main()
120 curl_easy_setopt(curl, CURLOPT_SSLKEYTYPE, pKeyType); in main()
123 curl_easy_setopt(curl, CURLOPT_SSLKEY, pKeyName); in main()
126 curl_easy_setopt(curl, CURLOPT_CAINFO, pCACertFile); in main()
[all …]
H A Dsmtp-tls.c99 curl_easy_setopt(curl, CURLOPT_USERNAME, "user"); in main()
100 curl_easy_setopt(curl, CURLOPT_PASSWORD, "secret"); in main()
106 curl_easy_setopt(curl, CURLOPT_URL, "smtp://mainserver.example.net:587"); in main()
113 curl_easy_setopt(curl, CURLOPT_USE_SSL, (long)CURLUSESSL_ALL); in main()
126 curl_easy_setopt(curl, CURLOPT_CAINFO, "/path/to/certificate.pem"); in main()
135 curl_easy_setopt(curl, CURLOPT_MAIL_FROM, FROM_MAIL); in main()
142 curl_easy_setopt(curl, CURLOPT_MAIL_RCPT, recipients); in main()
147 curl_easy_setopt(curl, CURLOPT_READFUNCTION, payload_source); in main()
148 curl_easy_setopt(curl, CURLOPT_READDATA, &upload_ctx); in main()
149 curl_easy_setopt(curl, CURLOPT_UPLOAD, 1L); in main()
[all …]
H A Dsmtp-ssl.c99 curl_easy_setopt(curl, CURLOPT_USERNAME, "user"); in main()
100 curl_easy_setopt(curl, CURLOPT_PASSWORD, "secret"); in main()
104 curl_easy_setopt(curl, CURLOPT_URL, "smtps://mainserver.example.net"); in main()
115 curl_easy_setopt(curl, CURLOPT_SSL_VERIFYPEER, 0L); in main()
123 curl_easy_setopt(curl, CURLOPT_SSL_VERIFYHOST, 0L); in main()
133 curl_easy_setopt(curl, CURLOPT_MAIL_FROM, FROM_MAIL); in main()
140 curl_easy_setopt(curl, CURLOPT_MAIL_RCPT, recipients); in main()
145 curl_easy_setopt(curl, CURLOPT_READFUNCTION, payload_source); in main()
146 curl_easy_setopt(curl, CURLOPT_READDATA, &upload_ctx); in main()
147 curl_easy_setopt(curl, CURLOPT_UPLOAD, 1L); in main()
[all …]
H A Dsftpuploadresume.c56 curl_easy_setopt(curlHandlePtr, CURLOPT_VERBOSE, 1L); in sftpGetRemoteFileSize()
58 curl_easy_setopt(curlHandlePtr, CURLOPT_URL, i_remoteFile); in sftpGetRemoteFileSize()
59 curl_easy_setopt(curlHandlePtr, CURLOPT_NOPROGRESS, 1); in sftpGetRemoteFileSize()
60 curl_easy_setopt(curlHandlePtr, CURLOPT_NOBODY, 1); in sftpGetRemoteFileSize()
61 curl_easy_setopt(curlHandlePtr, CURLOPT_HEADER, 1); in sftpGetRemoteFileSize()
62 curl_easy_setopt(curlHandlePtr, CURLOPT_FILETIME, 1); in sftpGetRemoteFileSize()
97 curl_easy_setopt(curlhandle, CURLOPT_UPLOAD, 1L); in sftpResumeUpload()
98 curl_easy_setopt(curlhandle, CURLOPT_URL, remotepath); in sftpResumeUpload()
99 curl_easy_setopt(curlhandle, CURLOPT_READFUNCTION, readfunc); in sftpResumeUpload()
100 curl_easy_setopt(curlhandle, CURLOPT_READDATA, f); in sftpResumeUpload()
[all …]
H A Dsmtp-authzid.c106 curl_easy_setopt(curl, CURLOPT_URL, "smtp://mail.example.com:587"); 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()
116 curl_easy_setopt(curl, CURLOPT_LOGIN_OPTIONS, "AUTH=PLAIN"); 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()
135 curl_easy_setopt(curl, CURLOPT_READFUNCTION, payload_source); in main()
136 curl_easy_setopt(curl, CURLOPT_READDATA, &upload_ctx); in main()
137 curl_easy_setopt(curl, CURLOPT_UPLOAD, 1L); in main()
H A Dhttp2-upload.c232 curl_easy_setopt(hnd, CURLOPT_WRITEDATA, out); in setup()
235 curl_easy_setopt(hnd, CURLOPT_READFUNCTION, read_callback); in setup()
237 curl_easy_setopt(hnd, CURLOPT_READDATA, i); in setup()
239 curl_easy_setopt(hnd, CURLOPT_INFILESIZE_LARGE, uploadsize); in setup()
242 curl_easy_setopt(hnd, CURLOPT_URL, url); in setup()
245 curl_easy_setopt(hnd, CURLOPT_UPLOAD, 1L); in setup()
248 curl_easy_setopt(hnd, CURLOPT_VERBOSE, 1L); in setup()
249 curl_easy_setopt(hnd, CURLOPT_DEBUGFUNCTION, my_trace); in setup()
250 curl_easy_setopt(hnd, CURLOPT_DEBUGDATA, i); in setup()
253 curl_easy_setopt(hnd, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_2_0); in setup()
[all …]
H A Danyauthput.c110 curl_easy_setopt(curl, CURLOPT_READFUNCTION, read_callback); in main()
113 curl_easy_setopt(curl, CURLOPT_READDATA, (void *) fp); in main()
116 curl_easy_setopt(curl, CURLOPT_SEEKFUNCTION, my_seek); in main()
119 curl_easy_setopt(curl, CURLOPT_SEEKDATA, (void *) fp); in main()
122 curl_easy_setopt(curl, CURLOPT_UPLOAD, 1L); in main()
126 curl_easy_setopt(curl, CURLOPT_URL, url); in main()
130 curl_easy_setopt(curl, CURLOPT_INFILESIZE_LARGE, in main()
136 curl_easy_setopt(curl, CURLOPT_HTTPAUTH, (long)CURLAUTH_ANY); in main()
139 curl_easy_setopt(curl, CURLOPT_USERPWD, "user:password"); in main()
H A Dexternalsocket.c117 curl_easy_setopt(curl, CURLOPT_URL, "http://99.99.99.99:9999"); in main()
144 curl_easy_setopt(curl, CURLOPT_NOPROGRESS, 1L); in main()
147 curl_easy_setopt(curl, CURLOPT_WRITEFUNCTION, write_data); in main()
150 curl_easy_setopt(curl, CURLOPT_OPENSOCKETFUNCTION, opensocket); in main()
151 curl_easy_setopt(curl, CURLOPT_OPENSOCKETDATA, &sockfd); in main()
154 curl_easy_setopt(curl, CURLOPT_CLOSESOCKETFUNCTION, closecb); in main()
155 curl_easy_setopt(curl, CURLOPT_CLOSESOCKETDATA, &sockfd); in main()
158 curl_easy_setopt(curl, CURLOPT_SOCKOPTFUNCTION, sockopt_callback); in main()
160 curl_easy_setopt(curl, CURLOPT_VERBOSE, 1); in main()
/aosp_15_r20/system/update_engine/
H A Dlibcurl_http_fetcher.cc148 curl_easy_setopt( in ResumeTransfer()
150 curl_easy_setopt( in ResumeTransfer()
152 curl_easy_setopt(curl_handle_, CURLOPT_CLOSESOCKETDATA, this); in ResumeTransfer()
158 CHECK_EQ(curl_easy_setopt(curl_handle_, CURLOPT_PROXY, ""), CURLE_OK); in ResumeTransfer()
160 CHECK_EQ(curl_easy_setopt( in ResumeTransfer()
166 CHECK_EQ(curl_easy_setopt(curl_handle_, CURLOPT_PROXYTYPE, type), in ResumeTransfer()
172 CHECK_EQ(curl_easy_setopt(curl_handle_, CURLOPT_POST, 1), CURLE_OK); in ResumeTransfer()
174 curl_easy_setopt(curl_handle_, CURLOPT_POSTFIELDS, post_data_.data()), in ResumeTransfer()
176 CHECK_EQ(curl_easy_setopt( in ResumeTransfer()
203 curl_easy_setopt(curl_handle_, CURLOPT_HTTPHEADER, curl_http_headers_), in ResumeTransfer()
[all …]
/aosp_15_r20/external/curl/tests/http/clients/
H A Dupload-pausing.c273 curl_easy_setopt(curl, CURLOPT_READFUNCTION, read_callback); in main()
276 curl_easy_setopt(curl, CURLOPT_XFERINFOFUNCTION, progress_callback); in main()
277 curl_easy_setopt(curl, CURLOPT_XFERINFODATA, curl); in main()
278 curl_easy_setopt(curl, CURLOPT_NOPROGRESS, 0L); in main()
281 curl_easy_setopt(curl, CURLOPT_TCP_KEEPALIVE, 1L); in main()
282 curl_easy_setopt(curl, CURLOPT_TCP_KEEPIDLE, 1L); in main()
283 curl_easy_setopt(curl, CURLOPT_TCP_KEEPINTVL, 1L); in main()
284 curl_easy_setopt(curl, CURLOPT_TCP_KEEPCNT, 1L); in main()
287 curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "POST"); in main()
288 curl_easy_setopt(curl, CURLOPT_UPLOAD, 1L); in main()
[all …]
H A Dhx-upload.c258 curl_easy_setopt(hnd, CURLOPT_SHARE, share); in setup()
259 curl_easy_setopt(hnd, CURLOPT_URL, url); in setup()
260 curl_easy_setopt(hnd, CURLOPT_HTTP_VERSION, http_version); in setup()
261 curl_easy_setopt(hnd, CURLOPT_SSL_VERIFYPEER, 0L); in setup()
262 curl_easy_setopt(hnd, CURLOPT_SSL_VERIFYHOST, 0L); in setup()
263 curl_easy_setopt(hnd, CURLOPT_BUFFERSIZE, (long)(128 * 1024)); in setup()
264 curl_easy_setopt(hnd, CURLOPT_WRITEFUNCTION, my_write_cb); in setup()
265 curl_easy_setopt(hnd, CURLOPT_WRITEDATA, t); in setup()
267 curl_easy_setopt(hnd, CURLOPT_SSL_OPTIONS, (long)CURLSSLOPT_EARLYDATA); in setup()
270 curl_easy_setopt(hnd, CURLOPT_UPLOAD, 1L); in setup()
[all …]
H A Dhx-download.c234 curl_easy_setopt(hnd, CURLOPT_SHARE, share); in setup()
235 curl_easy_setopt(hnd, CURLOPT_URL, url); in setup()
236 curl_easy_setopt(hnd, CURLOPT_HTTP_VERSION, http_version); in setup()
237 curl_easy_setopt(hnd, CURLOPT_SSL_VERIFYPEER, 0L); in setup()
238 curl_easy_setopt(hnd, CURLOPT_SSL_VERIFYHOST, 0L); in setup()
239 curl_easy_setopt(hnd, CURLOPT_BUFFERSIZE, (long)(128 * 1024)); in setup()
240 curl_easy_setopt(hnd, CURLOPT_WRITEFUNCTION, my_write_cb); in setup()
241 curl_easy_setopt(hnd, CURLOPT_WRITEDATA, t); in setup()
242 curl_easy_setopt(hnd, CURLOPT_NOPROGRESS, 0L); in setup()
243 curl_easy_setopt(hnd, CURLOPT_XFERINFOFUNCTION, my_progress_cb); in setup()
[all …]
H A Dtls-session-reuse.c153 curl_easy_setopt(easy, CURLOPT_VERBOSE, 1L); in add_transfer()
154 curl_easy_setopt(easy, CURLOPT_DEBUGFUNCTION, debug_cb); in add_transfer()
155 curl_easy_setopt(easy, CURLOPT_URL, url); in add_transfer()
156 curl_easy_setopt(easy, CURLOPT_SHARE, share); in add_transfer()
157 curl_easy_setopt(easy, CURLOPT_NOSIGNAL, 1L); in add_transfer()
158 curl_easy_setopt(easy, CURLOPT_AUTOREFERER, 1L); in add_transfer()
159 curl_easy_setopt(easy, CURLOPT_FAILONERROR, 1L); in add_transfer()
160 curl_easy_setopt(easy, CURLOPT_HTTP_VERSION, http_version); in add_transfer()
161 curl_easy_setopt(easy, CURLOPT_WRITEFUNCTION, write_cb); in add_transfer()
162 curl_easy_setopt(easy, CURLOPT_WRITEDATA, NULL); in add_transfer()
[all …]
H A Dh2-upgrade-extreme.c171 curl_easy_setopt(easy, CURLOPT_VERBOSE, 1L); in main()
172 curl_easy_setopt(easy, CURLOPT_DEBUGFUNCTION, debug_cb); in main()
173 curl_easy_setopt(easy, CURLOPT_URL, url); in main()
174 curl_easy_setopt(easy, CURLOPT_NOSIGNAL, 1L); in main()
175 curl_easy_setopt(easy, CURLOPT_AUTOREFERER, 1L); in main()
176 curl_easy_setopt(easy, CURLOPT_FAILONERROR, 1L); in main()
177 curl_easy_setopt(easy, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_2_0); in main()
178 curl_easy_setopt(easy, CURLOPT_WRITEFUNCTION, write_cb); in main()
179 curl_easy_setopt(easy, CURLOPT_WRITEDATA, NULL); in main()
180 curl_easy_setopt(easy, CURLOPT_HTTPGET, 1L); in main()
[all …]
/aosp_15_r20/external/curl/tests/libtest/
H A Dlib1662.c64 curl_easy_setopt(hnd, CURLOPT_BUFFERSIZE, 102400L); in test()
65 curl_easy_setopt(hnd, CURLOPT_URL, URL); in test()
66 curl_easy_setopt(hnd, CURLOPT_NOPROGRESS, 1L); in test()
73 curl_easy_setopt(hnd, CURLOPT_MIMEPOST, mime1); in test()
74 curl_easy_setopt(hnd, CURLOPT_USERAGENT, "curl/2000"); in test()
75 curl_easy_setopt(hnd, CURLOPT_FOLLOWLOCATION, 1L); in test()
76 curl_easy_setopt(hnd, CURLOPT_MAXREDIRS, 50L); in test()
77 curl_easy_setopt(hnd, CURLOPT_HTTP_VERSION, in test()
79 curl_easy_setopt(hnd, CURLOPT_VERBOSE, 1L); in test()
80 curl_easy_setopt(hnd, CURLOPT_FTP_SKIP_PASV_IP, 1L); in test()
[all …]
H A Dlib1568.c36 curl_easy_setopt(hnd, CURLOPT_URL, URL); in test()
37 curl_easy_setopt(hnd, CURLOPT_VERBOSE, 1L); in test()
38 curl_easy_setopt(hnd, CURLOPT_HEADER, 1L); in test()
39 curl_easy_setopt(hnd, CURLOPT_USERPWD, "testuser:testpass"); in test()
40 curl_easy_setopt(hnd, CURLOPT_USERAGENT, "lib1568"); in test()
41 curl_easy_setopt(hnd, CURLOPT_HTTPAUTH, (long)CURLAUTH_DIGEST); in test()
42 curl_easy_setopt(hnd, CURLOPT_MAXREDIRS, 50L); in test()
43 curl_easy_setopt(hnd, CURLOPT_PORT, strtol(libtest_arg2, NULL, 10)); in test()
/aosp_15_r20/external/curl/tests/data/
H A Dtest140171 * All curl_easy_setopt() options are documented at:
72 * https://curl.se/libcurl/c/curl_easy_setopt.html
87 curl_easy_setopt(hnd, CURLOPT_BUFFERSIZE, 102400L);
88 curl_easy_setopt(hnd, CURLOPT_URL, "http://%HOSTIP:%HTTPPORT/we/want/%TESTNUMBER");
89 curl_easy_setopt(hnd, CURLOPT_USERPWD, "fake:user");
90 curl_easy_setopt(hnd, CURLOPT_HTTPAUTH, (long)CURLAUTH_BASIC);
91 curl_easy_setopt(hnd, CURLOPT_HTTPHEADER, slist1);
92 curl_easy_setopt(hnd, CURLOPT_USERAGENT, "MyUA");
93 curl_easy_setopt(hnd, CURLOPT_MAXREDIRS, 50L);
94 curl_easy_setopt(hnd, CURLOPT_COOKIE, "chocolate=chip");
[all …]
H A Dtest148165 * All curl_easy_setopt() options are documented at:
66 * https://curl.se/libcurl/c/curl_easy_setopt.html
76 curl_easy_setopt(hnd, CURLOPT_BUFFERSIZE, 102400L);
77 curl_easy_setopt(hnd, CURLOPT_URL, "http://moo/");
78 curl_easy_setopt(hnd, CURLOPT_PROXY, "http://%HOSTIP:%HTTPPORT");
79 curl_easy_setopt(hnd, CURLOPT_USERAGENT, "stripped");
80 curl_easy_setopt(hnd, CURLOPT_MAXREDIRS, 50L);
81curl_easy_setopt(hnd, CURLOPT_SSLVERSION, (long)(CURL_SSLVERSION_DEFAULT | CURL_SSLVERSION_MAX_TLS…
82curl_easy_setopt(hnd, CURLOPT_PROXY_SSLVERSION, (long)(CURL_SSLVERSION_TLSv1 | CURL_SSLVERSION_MAX…
83 curl_easy_setopt(hnd, CURLOPT_VERBOSE, 1L);
[all …]
H A Dtest140263 * All curl_easy_setopt() options are documented at:
64 * https://curl.se/libcurl/c/curl_easy_setopt.html
74 curl_easy_setopt(hnd, CURLOPT_BUFFERSIZE, 102400L);
75 curl_easy_setopt(hnd, CURLOPT_URL, "http://%HOSTIP:%HTTPPORT/we/want/%TESTNUMBER");
76 curl_easy_setopt(hnd, CURLOPT_POSTFIELDS, "foo=bar&baz=quux");
77 curl_easy_setopt(hnd, CURLOPT_POSTFIELDSIZE_LARGE, (curl_off_t)16);
78 curl_easy_setopt(hnd, CURLOPT_USERAGENT, "stripped");
79 curl_easy_setopt(hnd, CURLOPT_MAXREDIRS, 50L);
80 curl_easy_setopt(hnd, CURLOPT_VERBOSE, 1L);
82 curl_easy_setopt(hnd, CURLOPT_FTP_SKIP_PASV_IP, 1L);
[all …]
/aosp_15_r20/external/google-breakpad/src/common/linux/
H A Dhttp_upload.cc117 CURLcode (*curl_easy_setopt)(CURL*, CURLoption, ...); in SendRequest() local
118 *(void**) (&curl_easy_setopt) = dlsym(curl_lib, "curl_easy_setopt"); in SendRequest()
119 (*curl_easy_setopt)(curl, CURLOPT_URL, url.c_str()); in SendRequest()
120 (*curl_easy_setopt)(curl, CURLOPT_USERAGENT, kUserAgent); in SendRequest()
124 (*curl_easy_setopt)(curl, CURLOPT_NOSIGNAL, 1); in SendRequest()
127 (*curl_easy_setopt)(curl, CURLOPT_PROXY, proxy.c_str()); in SendRequest()
129 (*curl_easy_setopt)(curl, CURLOPT_PROXYUSERPWD, proxy_user_pwd.c_str()); in SendRequest()
132 (*curl_easy_setopt)(curl, CURLOPT_CAINFO, ca_certificate_file.c_str()); in SendRequest()
154 (*curl_easy_setopt)(curl, CURLOPT_HTTPPOST, formpost); in SendRequest()
162 (*curl_easy_setopt)(curl, CURLOPT_HTTPHEADER, headerlist); in SendRequest()
[all …]

12345678910>>...31