| /external/curl/docs/ |
| D | DISTROS.md | 4 SPDX-License-Identifier: curl 7 # curl distros 11 Lots of organizations distribute curl packages to end users. This is a 12 collection of pointers to where to learn more about curl on and with each 13 distro. Those marked *Rolling Release* typically run the latest version of curl 16 We discuss curl distro issues, patches and collaboration on the [curl-distros 17 mailing list](https://lists.haxx.se/listinfo/curl-distros). 21 - curl package source and patches: curl package source and patches 22 - curl issues: https://bugs.almalinux.org/view_all_bug_page.php click Category and choose curl 23 - curl security: https://errata.almalinux.org/ search for curl [all …]
|
| D | KNOWN_BUGS | 39 5.2 curl-config --libs contains private details 42 5.6 cygwin: make install installs curl-config.1 twice 58 6.10 curl never completes Negotiate over HTTP 127 When curl is built to use hyper for HTTP, it is unnecessary slow. 129 https://github.com/curl/curl/issues/11203 136 https://curl.se/mail/archive-2008-02/0043.html 142 https://github.com/curl/curl/issues/10457 146 See https://github.com/curl/curl/issues/5403 152 https://github.com/curl/curl/issues/1308 160 See https://github.com/curl/curl/issues/1411 [all …]
|
| D | MANUAL.md | 4 SPDX-License-Identifier: curl 7 # curl tutorial 13 curl https://www.example.com/ 17 curl ftp://ftp.example.com/README 21 curl http://www.example.com:8000/ 25 curl ftp://ftp.example.com/ 27 Get the all terms matching curl from a dictionary: 29 curl dict://dict.example.com/m:curl 31 Get the definition of curl from a dictionary: 33 curl dict://dict.example.com/d:curl [all …]
|
| D | TheArtOfHttpScripting.md | 4 SPDX-License-Identifier: curl 7 # The Art Of Scripting HTTP Requests Using Curl 18 Curl is a command line tool for doing all sorts of URL manipulations and 21 invoke `curl --help` or `curl --manual` to get basic information about it. 23 Curl is not written to do everything for you. It makes the requests, it gets 39 The client, curl, sends an HTTP request. The request contains a method (like 47 Using curl's option [`--verbose`](https://curl.se/docs/manpage.html#-v) (`-v` 48 as a short option) displays what kind of commands curl sends to the server, 52 understand the curl<->server interaction. 55 [`--trace`](https://curl.se/docs/manpage.html#-trace) and [all …]
|
| D | FAQ | 10 1.1 What is cURL? 12 1.3 What is curl not? 13 1.4 When will you make curl do XXXX ? 14 1.5 Who makes curl? 15 1.6 What do you get for making curl? 16 1.7 What about CURL from curl.com? 18 1.9 Where do I buy commercial support for curl? 19 1.10 How many are using curl? 22 1.13 curl's ECCN number? 28 2.2 Does curl work/build with other SSL libraries? [all …]
|
| D | TODO | 9 Things to do in project curl. Please tell us what you think, contribute and 158 18.10 improve how curl works in a windows console window 181 19.4 Package curl for Windows in a signed installer 183 19.6 build curl with Windows Unicode support 214 See https://github.com/curl/curl/pull/3378 220 See https://github.com/curl/curl/issues/4016 233 See https://github.com/curl/curl/issues/4476 239 See https://github.com/curl/curl/issues/4915 and lib1541.c 259 See https://github.com/curl/curl/issues/1264 273 https://github.com/curl/curl/pull/977 [all …]
|
| D | HISTORY.md | 4 SPDX-License-Identifier: curl 7 How curl Became Like This 56 again misleading and a second name change was made. On March 20, 1998 curl 4 59 (Unrelated to this project a company called Curl Corporation registered a US 60 trademark on the name "CURL" on May 18 1998. That company had then already 61 registered the curl.com domain back in November of the previous year. All this 66 August: first announcement of curl on freshmeat.net. 68 October: with the curl 4.9 release and the introduction of cookie support, 69 curl was no longer released under the GPL license. Now we are at 4000 lines of 75 curl could now simulate quite a lot of a browser. TELNET support was added. [all …]
|
| /external/curl/packages/vms/ |
| D | curlmsg.sdl | 10 /* THESE VMS ERROR CODES ARE GENERATED BY TAKING APART THE CURL.H 20 /* CURLE_ ONES IN INCLUDE/CURL.H. THE MESSAGE UTILITY MANUAL STATES 28 "FACILITY" EQUALS 3841 PREFIX "CURL" TAG "" 29 ,"OK" EQUALS %X0F018009 PREFIX "CURL" TAG "" 30 ,"UNSUPPORTED_PROTOCOL" EQUALS %X0F018012 PREFIX "CURL" TAG "" 31 ,"FAILED_INIT" EQUALS %X0F01801A PREFIX "CURL" TAG "" 32 ,"URL_MALFORMAT" EQUALS %X0F018022 PREFIX "CURL" TAG "" 33 ,"OBSOLETE4" EQUALS %X0F01802A PREFIX "CURL" TAG "" 34 ,"COULDNT_RESOLVE_PROXY" EQUALS %X0F018032 PREFIX "CURL" TAG "" 35 ,"COULDNT_RESOLVE_HOST" EQUALS %X0F01803A PREFIX "CURL" TAG "" [all …]
|
| D | stage_curl_install.com | 3 $! This updates or removes the GNV$CURL.EXE and related files for the 7 $! [usr.bin]gnv$curl.exe 8 $! [usr.bin]curl-config. 10 $! [usr.bin]curl. hard link for [usr.bin]gnv$curl.exe 11 $! [usr.include.curl]curl.h 12 $! [usr.include.curl]curlver.h 13 $! [usr.include.curl]easy.h 14 $! [usr.include.curl]mprintf.h 15 $! [usr.include.curl]multi.h 16 $! [usr.include.curl]stdcheaders.h [all …]
|
| /external/curl/ |
| D | RELEASE-NOTES | 1 curl and libcurl 8.8.0 3 Public curl releases: 257 40 o ci: add curl-for-win builds: Linux MUSL, macOS, Windows [68] 63 o curl-confopts.m4: define CARES_NO_DEPRECATED when c-ares is used [17] 64 o curl.h: change CURL_SSLVERSION_* from enum to defines [132] 65 o curl: make --help adapt to the terminal width [11] 66 o curl: use curl_getenv instead of the curlx_ version [20] 87 o dist: remove the curl-config.1 from the tarball [28] 89 o DISTROS: add patch and issues link for curl-for-win [110] 201 o tests: add -q as first option when invoking curl for tests [97] [all …]
|
| D | README.md | 4 SPDX-License-Identifier: curl 7 # [](https://curl.se/) 9 Curl is a command-line tool for transferring data specified with URL 10 syntax. Find out how to use curl by reading [the curl.1 man 11 page](https://curl.se/docs/manpage.html) or [the MANUAL 12 document](https://curl.se/docs/manual.html). Find out how to install Curl 13 by reading [the INSTALL document](https://curl.se/docs/install.html). 15 libcurl is the library curl is using to do its job. It is readily available to 17 page](https://curl.se/libcurl/c/libcurl.html) to learn how. 20 document](https://curl.se/docs/faq.html). [all …]
|
| /external/curl/tests/libtest/ |
| D | lib661.c | 12 * are also available at https://curl.se/docs/copyright.html. 21 * SPDX-License-Identifier: curl 30 CURL *curl = NULL; in test() local 39 curl = curl_easy_init(); in test() 40 if(!curl) { in test() 49 test_setopt(curl, CURLOPT_URL, newURL); in test() 50 test_setopt(curl, CURLOPT_VERBOSE, 1L); in test() 51 test_setopt(curl, CURLOPT_IGNORE_CONTENT_LENGTH, 1L); in test() 52 test_setopt(curl, CURLOPT_FTP_FILEMETHOD, (long) CURLFTPMETHOD_SINGLECWD); in test() 53 res = curl_easy_perform(curl); in test() [all …]
|
| D | lib568.c | 12 * are also available at https://curl.se/docs/copyright.html. 21 * SPDX-License-Identifier: curl 47 CURL *curl; in test() local 60 curl = curl_easy_init(); in test() 61 if(!curl) { in test() 67 test_setopt(curl, CURLOPT_HEADERDATA, stdout); in test() 68 test_setopt(curl, CURLOPT_WRITEDATA, stdout); in test() 70 test_setopt(curl, CURLOPT_URL, URL); in test() 77 test_setopt(curl, CURLOPT_RTSP_STREAM_URI, stream_uri); in test() 91 test_setopt(curl, CURLOPT_RTSP_REQUEST, CURL_RTSPREQ_ANNOUNCE); in test() [all …]
|
| D | lib572.c | 12 * are also available at https://curl.se/docs/copyright.html. 21 * SPDX-License-Identifier: curl 47 CURL *curl; in test() local 60 curl = curl_easy_init(); in test() 61 if(!curl) { in test() 68 test_setopt(curl, CURLOPT_HEADERDATA, stdout); in test() 69 test_setopt(curl, CURLOPT_WRITEDATA, stdout); in test() 70 test_setopt(curl, CURLOPT_VERBOSE, 1L); in test() 72 test_setopt(curl, CURLOPT_URL, URL); in test() 80 test_setopt(curl, CURLOPT_RTSP_STREAM_URI, stream_uri); in test() [all …]
|
| D | lib2304.c | 12 * are also available at https://curl.se/docs/copyright.html. 21 * SPDX-License-Identifier: curl 29 static CURLcode ping(CURL *curl, const char *send_payload) in ping() argument 33 curl_ws_send(curl, send_payload, strlen(send_payload), &sent, 0, in ping() 41 static CURLcode recv_pong(CURL *curl, const char *expected_payload) in recv_pong() argument 46 CURLcode result = curl_ws_recv(curl, buffer, sizeof(buffer), &rlen, &meta); in recv_pong() 70 static CURLcode recv_any(CURL *curl) in recv_any() argument 75 CURLcode result = curl_ws_recv(curl, buffer, sizeof(buffer), &rlen, &meta); in recv_any() 85 static void websocket_close(CURL *curl) in websocket_close() argument 89 curl_ws_send(curl, "", 0, &sent, 0, CURLWS_CLOSE); in websocket_close() [all …]
|
| D | lib2301.c | 12 * are also available at https://curl.se/docs/copyright.html. 21 * SPDX-License-Identifier: curl 30 static CURLcode ping(CURL *curl, const char *send_payload) 34 curl_ws_send(curl, send_payload, strlen(send_payload), &sent, CURLWS_PING); 41 static CURLcode recv_pong(CURL *curl, const char *expected_payload) 47 curl_ws_recv(curl, buffer, sizeof(buffer), &rlen, &rflags); 69 static void websocket_close(CURL *curl) 73 curl_ws_send(curl, "", 0, &sent, CURLWS_CLOSE); 78 static void websocket(CURL *curl) 83 if(ping(curl, "foobar")) [all …]
|
| D | libauthretry.c | 12 * are also available at https://curl.se/docs/copyright.html. 21 * SPDX-License-Identifier: curl 32 static CURLcode send_request(CURL *curl, const char *url, int seq, in send_request() argument 46 test_setopt(curl, CURLOPT_URL, full_url); in send_request() 47 test_setopt(curl, CURLOPT_VERBOSE, 1L); in send_request() 48 test_setopt(curl, CURLOPT_HEADER, 1L); in send_request() 49 test_setopt(curl, CURLOPT_HTTPGET, 1L); in send_request() 50 test_setopt(curl, CURLOPT_USERPWD, userpwd); in send_request() 51 test_setopt(curl, CURLOPT_HTTPAUTH, auth_scheme); in send_request() 53 res = curl_easy_perform(curl); in send_request() [all …]
|
| /external/libbrillo/brillo/http/ |
| D | curl_api.h | 8 #include <curl/curl.h> 25 virtual CURL* EasyInit() = 0; 28 virtual void EasyCleanup(CURL* curl) = 0; 31 virtual CURLcode EasySetOptInt(CURL* curl, CURLoption option, int value) = 0; 32 virtual CURLcode EasySetOptStr(CURL* curl, 35 virtual CURLcode EasySetOptPtr(CURL* curl, 38 virtual CURLcode EasySetOptCallback(CURL* curl, 41 virtual CURLcode EasySetOptOffT(CURL* curl, 47 inline CURLcode EasySetOptCallback(CURL* curl, in EasySetOptCallback() argument 51 curl, option, reinterpret_cast<intptr_t>(callback)); in EasySetOptCallback() [all …]
|
| D | curl_api.cc | 18 "CURL option types are expected to be multiples of 10000"); 35 CURL* CurlApi::EasyInit() { in EasyInit() 39 void CurlApi::EasyCleanup(CURL* curl) { in EasyCleanup() argument 40 curl_easy_cleanup(curl); in EasyCleanup() 43 CURLcode CurlApi::EasySetOptInt(CURL* curl, CURLoption option, int value) { in EasySetOptInt() argument 46 // CURL actually uses "long" type, so have to make sure we feed it what it in EasySetOptInt() 49 return curl_easy_setopt(curl, option, static_cast<long>(value)); in EasySetOptInt() 52 CURLcode CurlApi::EasySetOptStr(CURL* curl, in EasySetOptStr() argument 57 return curl_easy_setopt(curl, option, value.c_str()); in EasySetOptStr() 60 CURLcode CurlApi::EasySetOptPtr(CURL* curl, CURLoption option, void* value) { in EasySetOptPtr() argument [all …]
|
| /external/curl/tests/data/ |
| D | test31 | 12 # The cookies set come in two versions. This is because when curl is built 28 Set-Cookie:ismatch=this ; domain=test31.curl; path=/silly/ 29 Set-Cookie: overwrite=this ; domain=test31.curl; path=/overwrite/ 30 Set-Cookie: overwrite=this2 ; domain=test31.curl; path=/overwrite 31 Set-Cookie: sec1value=secure1 ; domain=test31.curl; path=/secure1/ ; secure 32 Set-Cookie: sec2value=secure2 ; domain=test31.curl; path=/secure2/ ; secure= 33 Set-Cookie: sec3value=secure3 ; domain=test31.curl; path=/secure3/ ; secure= 34 Set-Cookie: sec4value=secure4 ; secure=; domain=test31.curl; path=/secure4/ ; 35 Set-Cookie: sec5value=secure5 ; secure; domain=test31.curl; path=/secure5/ ; 36 Set-Cookie: sec6value=secure6 ; secure ; domain=test31.curl; path=/secure6/ ; [all …]
|
| /external/curl/docs/examples/ |
| D | websocket.c | 12 * are also available at https://curl.se/docs/copyright.html. 21 * SPDX-License-Identifier: curl 31 #include <curl/curl.h> 33 static int ping(CURL *curl, const char *send_payload) in ping() argument 37 curl_ws_send(curl, send_payload, strlen(send_payload), &sent, 0, in ping() 42 static int recv_pong(CURL *curl, const char *expected_payload) in recv_pong() argument 47 CURLcode result = curl_ws_recv(curl, buffer, sizeof(buffer), &rlen, &meta); in recv_pong() 71 static CURLcode recv_any(CURL *curl) in recv_any() argument 77 return curl_ws_recv(curl, buffer, sizeof(buffer), &rlen, &meta); in recv_any() 81 static void websocket_close(CURL *curl) in websocket_close() argument [all …]
|
| D | cookie_interface.c | 12 * are also available at https://curl.se/docs/copyright.html. 21 * SPDX-License-Identifier: curl 35 #include <curl/curl.h> 38 print_cookies(CURL *curl) in print_cookies() argument 45 printf("Cookies, curl knows:\n"); in print_cookies() 46 res = curl_easy_getinfo(curl, CURLINFO_COOKIELIST, &cookies); in print_cookies() 48 fprintf(stderr, "Curl curl_easy_getinfo failed: %s\n", in print_cookies() 68 CURL *curl; in main() local 72 curl = curl_easy_init(); in main() 73 if(curl) { in main() [all …]
|
| /external/sandboxed-api/oss-internship-2020/curl/examples/ |
| D | example3.cc | 28 class CurlSapiSandboxEx3 : public curl::CurlSapiSandbox { 49 return curl::CurlSapiSandbox::ModifyPolicy(policy_builder.get()); in ModifyPolicy() 64 curl::CurlApi api(&sandbox); in Example3() 68 // Initialize curl (CURL_GLOBAL_DEFAULT = 3) in Example3() 72 "curl_global_init failed: ", curl::StrError(&api, curl_code))); in Example3() 75 // Initialize curl easy handle in Example3() 76 curl::CURL* curl_handle; in Example3() 78 sapi::v::RemotePtr curl(curl_handle); in Example3() local 80 return absl::UnavailableError("curl_easy_init failed: Invalid curl handle"); in Example3() 87 api.curl_easy_setopt_ptr(&curl, curl::CURLOPT_URL, url.PtrBefore())); in Example3() [all …]
|
| /external/curl/src/ |
| D | tool_operate.c | 12 * are also available at https://curl.se/docs/copyright.html. 21 * SPDX-License-Identifier: curl 91 CURLcode curl_easy_perform_ev(CURL *easy); 101 "More details here: https://curl.se/docs/sslcerts.html\n\n" \ 102 "curl failed to verify the legitimacy of the server and therefore " \ 338 my_setopt(per->curl, CURLOPT_INFILESIZE_LARGE, uploadfilesize); in pre_transfer() 378 CURL *curl = per->curl; in post_per_transfer() local 385 if(!curl || !config) in post_per_transfer() 402 fprintf(tool_stderr, "curl: (%d) %s\n", result, in post_per_transfer() 410 curl_easy_getinfo(curl, CURLINFO_RESPONSE_CODE, &code); in post_per_transfer() [all …]
|
| /external/curl/tests/http/clients/ |
| D | ws-pingpong.c | 12 * are also available at https://curl.se/docs/copyright.html. 21 * SPDX-License-Identifier: curl 29 /* curl stuff */ 31 #include <curl/curl.h> 43 static CURLcode ping(CURL *curl, const char *send_payload) in ping() argument 47 curl_ws_send(curl, send_payload, strlen(send_payload), &sent, 0, in ping() 55 static CURLcode recv_pong(CURL *curl, const char *expected_payload) in recv_pong() argument 60 CURLcode result = curl_ws_recv(curl, buffer, sizeof(buffer), &rlen, &meta); in recv_pong() 84 static void websocket_close(CURL *curl) in websocket_close() argument 88 curl_ws_send(curl, "", 0, &sent, 0, CURLWS_CLOSE); in websocket_close() [all …]
|