/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/docs/ |
D | KNOWN_BUGS | 42 5.2 curl-config --libs contains private details 43 5.3 curl compiled on OSX 10.13 failed to run on OSX 10.10 62 6.10 curl never completes Negotiate over HTTP 83 11.1 Curl leaks .onion hostnames in DNS 105 15.4 build docs/curl.1 121 18.1 If the HTTP/3 server closes connection during upload curl hangs 135 https://curl.se/mail/archive-2008-02/0043.html 141 See https://github.com/curl/curl/issues/5403 147 https://github.com/curl/curl/issues/1308 155 See https://github.com/curl/curl/issues/1411 [all …]
|
D | MANUAL.md | 1 # curl tutorial 7 curl https://www.example.com/ 11 curl ftp://ftp.funet.fi/README 15 curl http://www.weirdserver.com:8000/ 19 curl ftp://ftp.funet.fi 21 Get the definition of curl from a dictionary: 23 curl dict://dict.org/m:curl 27 curl ftp://ftp.funet.fi/ http://www.weirdserver.com:8000/ 31 curl ftps://files.are.secure.com/secrets.txt 35 curl --ftp-ssl ftp://files.are.secure.com/secrets.txt [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 179 19.4 Package curl for Windows in a signed installer 208 See https://github.com/curl/curl/pull/3378 214 See https://github.com/curl/curl/issues/4016 227 See https://github.com/curl/curl/issues/4476 243 This could be used by curl on macOS when built without a separate IDN library 246 See initial work in https://github.com/curl/curl/pull/5371 252 See https://github.com/curl/curl/issues/3570 260 See https://github.com/curl/curl/issues/1264 [all …]
|
D | TheArtOfHttpScripting.md | 1 # The Art Of Scripting HTTP Requests Using Curl 12 Curl is a command line tool for doing all sorts of URL manipulations and 15 invoke `curl --help` or `curl --manual` to get basic information about it. 17 Curl is not written to do everything for you. It makes the requests, it gets 33 The client, curl, sends an HTTP request. The request contains a method (like 41 Using curl's option [`--verbose`](https://curl.se/docs/manpage.html#-v) 42 (`-v` as a short option) will display what kind of commands curl sends to the 46 understand the curl<->server interaction. 49 [`--trace`](https://curl.se/docs/manpage.html#-trace) and 50 [`--trace-ascii`](https://curl.se/docs/manpage.html#--trace-ascii) [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 | HISTORY.md | 1 How curl Became Like This 50 again misleading and a second name change was made. On March 20, 1998 curl 4 53 (Unrelated to this project a company called Curl Corporation registered a US 54 trademark on the name "CURL" on May 18 1998. That company had then already 55 registered the curl.com domain back in November of the previous year. All this 60 August: first announcement of curl on freshmeat.net. 62 October: with the curl 4.9 release and the introduction of cookie support, 63 curl was no longer released under the GPL license. Now we are at 4000 lines of 69 curl could now simulate quite a lot of a browser. TELNET support was added. 71 Curl 5 was released in December 1998 and introduced the first ever curl man [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/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 | 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 | lib1533.c | 12 * are also available at https://curl.se/docs/copyright.html. 21 * SPDX-License-Identifier: curl 37 CURL *easy_handle; 44 static void reset_data(struct cb_data *data, CURL *curl) in reset_data() argument 46 data->easy_handle = curl; in reset_data() 101 static int perform_and_check_connections(CURL *curl, const char *description, in perform_and_check_connections() argument 107 res = curl_easy_perform(curl); in perform_and_check_connections() 113 res = curl_easy_getinfo(curl, CURLINFO_NUM_CONNECTS, &connections); in perform_and_check_connections() 133 CURL *curl = NULL; in test() local 141 curl = curl_easy_init(); 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 | lib2301.c | 12 * are also available at https://curl.se/docs/copyright.html. 21 * SPDX-License-Identifier: curl 30 static int ping(CURL *curl, const char *send_payload) 34 curl_ws_send(curl, send_payload, strlen(send_payload), &sent, CURLWS_PING); 41 static int recv_pong(CURL *curl, const char *exected_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 …]
|
D | lib2302.c | 12 * are also available at https://curl.se/docs/copyright.html. 21 * SPDX-License-Identifier: curl 31 static int ping(CURL *curl, const char *send_payload) 35 curl_ws_send(curl, send_payload, strlen(send_payload), &sent, CURLWS_PING); 42 static int recv_pong(CURL *curl, const char *exected_payload) 48 curl_ws_recv(curl, buffer, sizeof(buffer), &rlen, &rflags); 70 static void websocket_close(CURL *curl) 74 curl_ws_send(curl, "", 0, &sent, CURLWS_CLOSE); 79 static void websocket(CURL *curl) 84 if(ping(curl, "foobar")) [all …]
|
D | test1013.pl | 13 # are also available at https://curl.se/docs/copyright.html. 22 # SPDX-License-Identifier: curl 25 # Determine if curl-config --protocols/--features matches the 26 # curl --version protocols/features 29 print "Usage: $0 curl-config-script curl-version-output-file features|protocols\n"; 35 # Read the output of curl --version 37 open(CURL, "$ARGV[1]") || die "Can't get curl $what list\n"; 38 while( <CURL> ) 42 close CURL; 46 @curl = split / /,$1; [all …]
|
D | lib2304.c | 12 * are also available at https://curl.se/docs/copyright.html. 21 * SPDX-License-Identifier: curl 29 static int 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 int recv_pong(CURL *curl, const char *exected_payload) in recv_pong() argument 46 CURLcode result = curl_ws_recv(curl, buffer, sizeof(buffer), &rlen, &meta); in recv_pong() 71 static void websocket_close(CURL *curl) in websocket_close() argument 75 curl_ws_send(curl, "", 0, &sent, 0, CURLWS_CLOSE); in websocket_close() 80 static void websocket(CURL *curl) in websocket() argument 86 if(ping(curl, "foobar")) in websocket() [all …]
|
D | lib506.c | 12 * are also available at https://curl.se/docs/copyright.html. 21 * SPDX-License-Identifier: curl 45 static void my_lock(CURL *handle, curl_lock_data data, in my_lock() 85 static void my_unlock(CURL *handle, curl_lock_data data, void *useptr) in my_unlock() 135 CURL *curl; in fire() local 137 curl = curl_easy_init(); in fire() 138 if(!curl) { in fire() 144 curl_easy_setopt(curl, CURLOPT_VERBOSE, 1L); in fire() 145 curl_easy_setopt(curl, CURLOPT_HTTPHEADER, headers); in fire() 146 curl_easy_setopt(curl, CURLOPT_URL, tdata->url); in fire() [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/ |
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/src/ |
D | tool_operate.c | 12 * are also available at https://curl.se/docs/copyright.html. 21 * SPDX-License-Identifier: curl 92 CURLcode curl_easy_perform_ev(CURL *easy); 102 "More details here: https://curl.se/docs/sslcerts.html\n\n" \ 103 "curl failed to verify the legitimacy of the server and therefore " \ 328 my_setopt(per->curl, CURLOPT_INFILESIZE_LARGE, uploadfilesize); in pre_transfer() 385 CURL *curl = per->curl; in post_per_transfer() local 388 if(!curl || !config) in post_per_transfer() 408 fprintf(stderr, "curl: (%d) %s\n", result, in post_per_transfer() 416 curl_easy_getinfo(curl, CURLINFO_RESPONSE_CODE, &code); in post_per_transfer() [all …]
|
/external/curl/docs/examples/ |
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/curl/docs/cmdline-opts/ |
D | page-header | 12 .\" * are also available at https://curl.se/docs/copyright.html. 21 .\" * SPDX-License-Identifier: curl 25 .\" DO NOT EDIT. Generated by the curl project gen.pl man page generator. 27 .TH curl 1 "%DATE" "curl %VERSION" "curl Manual" 29 curl \- transfer a URL 31 .B curl [options / URLs] 33 **curl** is a tool for transferring data from or to a server. It supports these 39 curl offers a busload of useful tricks like proxy support, user 44 curl is powered by libcurl for all transfer-related features. See 89 If you specify URL without protocol:// prefix, curl will attempt to guess what [all …]
|