Home
last modified time | relevance | path

Searched full:curl (Results 1 – 25 of 480) sorted by relevance

12345678910>>...20

/third_party/ejdb/src/jbr/tests/
Djbr_test1.c3 #include <curl/curl.h>
5 CURL *curl; variable
9 curl = curl_easy_init(); in init_suite()
10 if (!curl) { in init_suite()
18 curl_easy_cleanup(curl); in clean_suite()
63 CURLcode cc = curl_easy_setopt(curl, CURLOPT_URL, url); in jbr_test1_1()
65 cc = curl_easy_perform(curl); in jbr_test1_1()
67 curl_easy_getinfo(curl, CURLINFO_RESPONSE_CODE, &code); in jbr_test1_1()
74 curl_easy_reset(curl); in jbr_test1_1()
75 curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "POST"); in jbr_test1_1()
[all …]
/third_party/openssl/apps/
Dtsget.in14 use WWW::Curl::Easy;
39 # Initialise a new Curl object.
43 # Create Curl object.
44 my $curl = WWW::Curl::Easy::new();
47 $curl->setopt(CURLOPT_VERBOSE, 1) if $options{d};
48 $curl->setopt(CURLOPT_FAILONERROR, 1);
49 $curl->setopt(CURLOPT_USERAGENT,
53 $curl->setopt(CURLOPT_UPLOAD, 1);
54 $curl->setopt(CURLOPT_CUSTOMREQUEST, "POST");
55 $curl->setopt(CURLOPT_HTTPHEADER,
[all …]
/third_party/curl/
Dbackport-0101-curl-7.32.0-multilib.patch4 Subject: [PATCH] prevent multilib conflicts on the curl-config script
7 curl-config.in | 21 +++------------------
8 docs/curl-config.1 | 4 +++-
12 diff --git a/curl-config.in b/curl-config.in
14 --- a/curl-config.in
15 +++ b/curl-config.in
49 - echo "curl was built with static libraries disabled" >&2
60 diff --git a/docs/curl-config.1 b/docs/curl-config.1
62 --- a/docs/curl-config.1
63 +++ b/docs/curl-config.1
[all …]
Dcurl.spec7 Name: curl
10 Summary: Curl is used in command lines or scripts to transfer data
12 URL: https://curl.haxx.se/
13 Source: https://curl.haxx.se/download/curl-%{version}.tar.xz
15 Patch1: backport-0101-curl-7.32.0-multilib.patch
68 Provides: curl-full = %{version}-%{release} webclient
71 cURL is a computer software project providing a library (libcurl) and
72 command-line tool (curl) for transferring data using various protocols.
79 Conflicts: curl < 7.66.0-3
87 Provides: curl-devel = %{version}-%{release}
[all …]
Dinstall.py79 "backport-0101-curl-7.32.0-multilib.patch",
168 CurlLog.info("the OpenEuler Curl's %d patch %s" % (count, patch))
175 CurlLog.info("my OpenEuler Curl's %d patch %s" % (count, patch))
181 _tar_file_name = "curl-7.79.1.tar.xz"
182 _open_euler_curl_source_path = "curl-7.79.1"
199 CurlLog.info("remove OpenEuler Curl source path %s" % (source_path))
203 …CurlLog.info("it's too new, does not need to remove OpenEuler Curl source path %s" % (source_path))
211 CurlLog.error("can not unzip OpenEuler Curl tar %s" % (tar_file))
214 CurlLog.info("unzip OpenEuler Curl tar successful %s" % (tar_file))
230 CurlLog.error("can not unzip OpenEuler Curl tar %s" % (tar_file))
[all …]
Dbackport-CVE-2022-32207.patch15 Index: curl-7.81.0/lib/Makefile.inc
17 --- curl-7.81.0.orig/lib/Makefile.inc
18 +++ curl-7.81.0/lib/Makefile.inc
35 Index: curl-7.81.0/lib/cookie.c
37 --- curl-7.81.0.orig/lib/cookie.c
38 +++ curl-7.81.0/lib/cookie.c
81 Index: curl-7.81.0/lib/fopen.c
84 +++ curl-7.81.0/lib/fopen.c
97 + * are also available at https://curl.se/docs/copyright.html.
192 Index: curl-7.81.0/lib/fopen.h
[all …]
Dbundle.json2 "name": "@ohos/curl",
5 "license": "Curl License",
8 "destPath": "third_party/curl"
14 "name": "curl",
34 "//third_party/curl:curl_target"
Dbackport-0001-CVE-2023-23914-CVE-2023-23915.patch9 Reference: https://github.com/curl/curl/commit/076a2f629119222aeeb50f5a03bf9f9052fabb9a
12 include/curl/curl.h | 1 +
35 diff --git a/include/curl/curl.h b/include/curl/curl.h
37 --- a/include/curl/curl.h
38 +++ b/include/curl/curl.h
/third_party/skia/third_party/externals/microhttpd/src/testcurl/
Dtest_get_response_cleanup.c73 execlp ("curl", "curl", "-s", "-N", "-o", "/dev/null", "-GET", url, NULL); in fork_curl()
75 "Failed to exec curl: %s\n", in fork_curl()
85 //fprintf (stderr, "Killing curl\n"); in kill_curl()
150 pid_t curl; in testInternalGet() local
157 curl = fork_curl ("http://127.0.0.1:11080/"); in testInternalGet()
159 kill_curl (curl); in testInternalGet()
172 pid_t curl; in testMultithreadedGet() local
181 //fprintf (stderr, "Forking cURL!\n"); in testMultithreadedGet()
182 curl = fork_curl ("http://127.0.0.1:1081/"); in testMultithreadedGet()
184 kill_curl (curl); in testMultithreadedGet()
[all …]
Dtest_termination.c37 #include <curl/curl.h>
105 CURL *curl = curl_easy_init (); in main() local
106 //curl_easy_setopt(curl, CURLOPT_POST, 1L); in main()
109 curl_easy_setopt (curl, CURLOPT_URL, url); in main()
110 curl_easy_setopt (curl, CURLOPT_WRITEFUNCTION, write_data); in main()
112 CURLcode success = curl_easy_perform (curl); in main()
115 fprintf (stderr, "CURL Error"); in main()
121 curl_easy_cleanup (curl); in main()
Dcurl_version_check.c23 * @brief verify required cURL version is available to run tests
29 #include <curl/curl.h>
96 fprintf (stderr, "curl version: %s\n", ver); in curl_check_version()
99 * this call relies on the cURL string to be of the exact following format : in curl_check_version()
121 "Error: running curl test depends on local libcurl version > %s\n", in curl_check_version()
128 * TODO use curl version string to assert use of gnutls in curl_check_version()
152 fprintf (stderr, "Error: unrecognized curl ssl library\n"); in curl_check_version()
170 "Error: running curl test depends on local libcurl SSL version > %s\n", in curl_check_version()
/third_party/elfutils/tests/
Drun-debuginfod-federation-metrics.sh120 curl -s -H 'User-Agent: TESTCURL' -H 'X-Forwarded-For: TESTXFF' $DEBUGINFOD_URLS/buildid/deaddeadbe…
153 curl -s http://127.0.0.1:$PORT1/badapi
154 curl -s http://127.0.0.1:$PORT1/metrics
155 curl -s http://127.0.0.1:$PORT2/metrics
156 curl -s http://127.0.0.1:$PORT1/metrics | grep -q 'http_responses_total.*result.*error'
157 curl -s http://127.0.0.1:$PORT2/metrics | grep -q 'http_responses_total.*result.*upstream'
158 curl -s http://127.0.0.1:$PORT1/metrics | grep 'http_responses_duration_milliseconds_count'
159 curl -s http://127.0.0.1:$PORT1/metrics | grep 'http_responses_duration_milliseconds_sum'
160 curl -s http://127.0.0.1:$PORT1/metrics | grep 'http_responses_transfer_bytes_count'
161 curl -s http://127.0.0.1:$PORT1/metrics | grep 'http_responses_transfer_bytes_sum'
[all …]
Drun-debuginfod-find.sh21 type curl 2>/dev/null || (echo "need curl"; exit 77)
58 curl -s http://127.0.0.1:$port/metrics
104 mvalue="$(curl -s http://127.0.0.1:$port/metrics \
191 bytecount_before=`curl -s http://127.0.0.1:$PORT1/metrics | grep 'http_responses_transfer_bytes_cou…
193 bytecount_after=`curl -s http://127.0.0.1:$PORT1/metrics | grep 'http_responses_transfer_bytes_coun…
202 bytecount_before=`curl -s http://127.0.0.1:$PORT1/metrics | grep 'http_responses_transfer_bytes_cou…
204 bytecount_after=`curl -s http://127.0.0.1:$PORT1/metrics | grep 'http_responses_transfer_bytes_coun…
509 curl -s -H 'User-Agent: TESTCURL' -H 'X-Forwarded-For: TESTXFF' $DEBUGINFOD_URLS/buildid/deaddeadbe…
545 curl -s http://127.0.0.1:$PORT1/badapi
546 curl -s http://127.0.0.1:$PORT1/metrics
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/utils/
Dhttp_curl.c10 #include <curl/curl.h>
45 CURL *curl; member
72 if (ctx->curl) { in clear_curl()
73 curl_easy_cleanup(ctx->curl); in clear_curl()
74 ctx->curl = NULL; in clear_curl()
124 static int curl_cb_debug(CURL *curl, curl_infotype info, char *buf, size_t len, in curl_cb_debug() argument
1314 static CURLcode curl_cb_ssl(CURL *curl, void *sslctx, void *parm) in curl_cb_ssl() argument
1348 static CURL * setup_curl_post(struct http_ctx *ctx, const char *address, in setup_curl_post()
1353 CURL *curl; in setup_curl_post() local
1363 curl = curl_easy_init(); in setup_curl_post()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/utils/
Dhttp_curl.c10 #include <curl/curl.h>
45 CURL *curl; member
72 if (ctx->curl) { in clear_curl()
73 curl_easy_cleanup(ctx->curl); in clear_curl()
74 ctx->curl = NULL; in clear_curl()
124 static int curl_cb_debug(CURL *curl, curl_infotype info, char *buf, size_t len, in curl_cb_debug() argument
1314 static CURLcode curl_cb_ssl(CURL *curl, void *sslctx, void *parm) in curl_cb_ssl() argument
1348 static CURL * setup_curl_post(struct http_ctx *ctx, const char *address, in setup_curl_post()
1353 CURL *curl; in setup_curl_post() local
1363 curl = curl_easy_init(); in setup_curl_post()
[all …]
/third_party/harfbuzz/src/
Dupdate-unicode-tables.make33 curl -O https://unicode.org/Public/UCD/latest/ucd/ArabicShaping.txt
35 curl -O https://unicode.org/Public/UCD/latest/ucd/UnicodeData.txt
37 curl -O https://unicode.org/Public/UCD/latest/ucd/Blocks.txt
39 curl -O https://www.unicode.org/Public/UCD/latest/ucd/emoji/emoji-data.txt
41 curl -O https://unicode.org/Public/UCD/latest/ucd/IndicSyllabicCategory.txt
43 curl -O https://unicode.org/Public/UCD/latest/ucd/IndicPositionalCategory.txt
45 curl -O https://docs.microsoft.com/en-us/typography/opentype/spec/languagetags
47 curl -O https://www.iana.org/assignments/language-subtag-registry/language-subtag-registry
49 curl -O https://unicode.org/Public/UCD/latest/ucdxml/ucd.nounihan.grouped.zip
51 curl -O https://unicode.org/Public/UCD/latest/ucd/Scripts.txt
/third_party/gstreamer/gstplugins_bad/ext/curl/
Dgstcurltlssink.c33 #include <curl/curl.h>
98 "curl tls sink element"); in gst_curl_tls_sink_class_init()
101 "Curl tls sink", in gst_curl_tls_sink_class_init()
132 "Allow curl to perform insecure SSL connections", in gst_curl_tls_sink_class_init()
242 res = curl_easy_setopt (bcsink->curl, CURLOPT_USE_SSL, CURLUSESSL_ALL); in gst_curl_tls_sink_set_options_unlocked()
253 res = curl_easy_setopt (bcsink->curl, CURLOPT_SSLENGINE_DEFAULT, 1L); in gst_curl_tls_sink_set_options_unlocked()
261 res = curl_easy_setopt (bcsink->curl, CURLOPT_SSLENGINE, in gst_curl_tls_sink_set_options_unlocked()
275 res = curl_easy_setopt (bcsink->curl, CURLOPT_CAINFO, sink->ca_cert); in gst_curl_tls_sink_set_options_unlocked()
285 res = curl_easy_setopt (bcsink->curl, CURLOPT_CAPATH, sink->ca_path); in gst_curl_tls_sink_set_options_unlocked()
295 res = curl_easy_setopt (bcsink->curl, CURLOPT_SSL_VERIFYPEER, 1L); in gst_curl_tls_sink_set_options_unlocked()
[all …]
Dgstcurlhttpsink.c46 #include <curl/curl.h>
129 "curl http sink element"); in gst_curl_http_sink_class_init()
132 "Curl http sink", in gst_curl_http_sink_class_init()
340 curl_easy_setopt (bcsink->curl, CURLOPT_POSTFIELDSIZE, in gst_curl_http_sink_set_header_unlocked()
374 res = curl_easy_setopt (bcsink->curl, CURLOPT_HTTPHEADER, sink->header_list); in gst_curl_http_sink_set_header_unlocked()
398 res = curl_easy_setopt (bcsink->curl, CURLOPT_POST, 1L); in gst_curl_http_sink_set_options_unlocked()
406 res = curl_easy_setopt (bcsink->curl, CURLOPT_HTTPAUTH, CURLAUTH_ANY); in gst_curl_http_sink_set_options_unlocked()
430 curl_easy_getinfo (bcsink->curl, CURLINFO_RESPONSE_CODE, &resp); in gst_curl_http_sink_transfer_verify_response_code()
451 curl_easy_getinfo (bcsink->curl, CURLINFO_HTTP_CONNECTCODE, in gst_curl_http_sink_transfer_prepare_poll_wait()
458 curl_multi_remove_handle (bcsink->multi_handle, bcsink->curl); in gst_curl_http_sink_transfer_prepare_poll_wait()
[all …]
Dgstcurlbasesink.c44 #include <curl/curl.h>
129 static int gst_curl_base_sink_debug_cb (CURL * handle, curl_infotype type,
183 "curl base sink element"); in gst_curl_base_sink_class_init()
186 "Curl base sink", in gst_curl_base_sink_class_init()
386 * either when transfer is completed by the curl read callback or by in gst_curl_base_sink_render()
624 res = curl_easy_setopt (sink->curl, CURLOPT_VERBOSE, 1); in gst_curl_base_sink_transfer_set_common_options_unlocked()
630 res = curl_easy_setopt (sink->curl, CURLOPT_DEBUGDATA, sink); in gst_curl_base_sink_transfer_set_common_options_unlocked()
636 res = curl_easy_setopt (sink->curl, CURLOPT_DEBUGFUNCTION, in gst_curl_base_sink_transfer_set_common_options_unlocked()
645 res = curl_easy_setopt (sink->curl, CURLOPT_URL, sink->url); in gst_curl_base_sink_transfer_set_common_options_unlocked()
652 res = curl_easy_setopt (sink->curl, CURLOPT_CONNECTTIMEOUT, sink->timeout); in gst_curl_base_sink_transfer_set_common_options_unlocked()
[all …]
Dgstcurlsshsink.c36 #include <curl/curl.h>
74 /* curl SSH-key matching callback */
75 static gint curl_ssh_sink_sshkey_cb (CURL * easy_handle,
122 "curl ssh sink element"); in gst_curl_ssh_sink_class_init()
125 "Curl SSH sink", "Sink/Network", in gst_curl_ssh_sink_class_init()
354 if ((curl_err = curl_easy_setopt (bcsink->curl, CURLOPT_SSH_PUBLIC_KEYFILE, in gst_curl_ssh_sink_set_options_unlocked()
363 if ((curl_err = curl_easy_setopt (bcsink->curl, CURLOPT_SSH_PRIVATE_KEYFILE, in gst_curl_ssh_sink_set_options_unlocked()
372 if ((curl_err = curl_easy_setopt (bcsink->curl, CURLOPT_SSH_KNOWNHOSTS, in gst_curl_ssh_sink_set_options_unlocked()
391 curl_easy_setopt (bcsink->curl, CURLOPT_SSH_HOST_PUBLIC_KEY_MD5, in gst_curl_ssh_sink_set_options_unlocked()
401 curl_easy_setopt (bcsink->curl, CURLOPT_SSH_HOST_PUBLIC_KEY_SHA256, in gst_curl_ssh_sink_set_options_unlocked()
[all …]
Dgstcurlftpsink.c44 #include <curl/curl.h>
116 "curl ftp sink element"); in gst_curl_ftp_sink_class_init()
119 "Curl ftp sink", in gst_curl_ftp_sink_class_init()
228 res = curl_easy_setopt (basesink->curl, CURLOPT_URL, tmp); in set_ftp_dynamic_options_unlocked()
237 curl_easy_setopt (basesink->curl, CURLOPT_POSTQUOTE, sink->headerlist); in set_ftp_dynamic_options_unlocked()
249 res = curl_easy_setopt (basesink->curl, CURLOPT_URL, tmp); in set_ftp_dynamic_options_unlocked()
267 res = curl_easy_setopt (basesink->curl, CURLOPT_UPLOAD, 1L); in set_ftp_options_unlocked()
276 res = curl_easy_setopt (basesink->curl, CURLOPT_FTPPORT, in set_ftp_options_unlocked()
290 res = curl_easy_setopt (basesink->curl, CURLOPT_FTP_USE_EPSV, 0); in set_ftp_options_unlocked()
301 res = curl_easy_setopt (basesink->curl, CURLOPT_FTP_CREATE_MISSING_DIRS, in set_ftp_options_unlocked()
/third_party/skia/third_party/externals/microhttpd/m4/
Dlibcurl.m426 # curl-config list (e.g. it's "HTTP" and not "http").
33 # curl-config script. Note that it is very important for people
35 # Without curl-config, we can only guess what protocols are available,
64 …AC_HELP_STRING([--with-libcurl=PREFIX],[look for the curl library in PREFIX/lib and headers in PRE…
78 AC_PATH_PROG([_libcurl_config],[curl-config],[],
81 AC_PATH_PROG([_libcurl_config],[curl-config],[],[$PATH])
112 # curl-config script. Fixed in Tiger, but there are still
121 # All curl-config scripts support --feature
137 # we didn't find curl-config, so let's see if the user-supplied
149 AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <curl/curl.h>]],[[
[all …]
/third_party/rust/crates/libc/
D.cirrus.yml6 - pkg install -y curl
7 - curl https://sh.rustup.rs -sSf --output rustup.sh
20 - pkg install -y curl
21 - curl https://sh.rustup.rs -sSf --output rustup.sh
34 - pkg install -y curl
35 - curl https://sh.rustup.rs -sSf --output rustup.sh
/third_party/flutter/engine/flutter/ci/docker/windows_build/
Dprepare_windows_server_2016_core.ps114 curl https://aka.ms/vs/15/release/vs_community.exe -o vs_community.exe
20 curl https://download.microsoft.com/download/5/C/3/5C3770A3-12B4-4DB4-BAE7-99C624EB32AD/windowssdk/…
25 curl https://storage.googleapis.com/chrome-infra/depot_tools.zip `
32 # Somehow, curl can't get the MinGit from github. Fortunately, taobo works.
33 curl https://npm.taobao.org/mirrors/git-for-windows/v2.21.0.windows.1/MinGit-2.21.0-64-bit.zip `
44 curl https://raw.githubusercontent.com/flutter/engine/master/ci/docker/build/engine_gclient `
/third_party/skia/third_party/externals/microhttpd/src/testcurl/https/
Dtest_https_get_parallel_threads.c34 #include <curl/curl.h>
52 * used when spawning multiple threads executing curl server requests
76 * TODO : make client_count a parameter - numver of curl client threads to spawn
98 * TODO : make client_count a parameter - numver of curl client threads to spawn
140 /* initialize random seed used by curl clients */ in main()
150 fprintf (stderr, "Curl does not support SSL. Cannot run the test.\n"); in main()

12345678910>>...20