Artifactspublic-v0

curl

master
ply4 git calls29 ms289 KiB3 cachedprotocol v2
120 lines4.9 KiBRaw

ENVIRONMENT

The environment variables can be specified in lower case or upper case. The lower case version has precedence. http_proxy is an exception as it is only available in lower case. (Note that some systems, like Windows, do not differentiate between environment variables using different case.)

Using an environment variable to set the proxy has the same effect as using the --proxy option.

http_proxy [protocol://]<host>[:port]

Sets the proxy server to use for HTTP.

HTTPS_PROXY [protocol://]<host>[:port]

Sets the proxy server to use for HTTPS.

[url-protocol]_PROXY [protocol://]<host>[:port]

Sets the proxy server to use for [url-protocol], where the protocol is a protocol that curl supports and as specified in a URL. FTP, FTPS, POP3, IMAP, SMTP, LDAP, etc.

ALL_PROXY [protocol://]<host>[:port]

Sets the proxy server to use if no protocol-specific proxy is set.

NO_PROXY <comma-separated list of hosts/domains>

list of hostnames that should not go through any proxy. If set to an asterisk '*' only, it matches all hosts. Each name in this list is matched as either a domain name which contains the hostname, or the hostname itself.

This environment variable disables use of the proxy even when specified with the --proxy option. That is

NO_PROXY=direct.example.com curl -x http://proxy.example.com
https://direct.example.com

accesses the target URL directly, and

NO_PROXY=direct.example.com curl -x http://proxy.example.com
https://somewhere.example.com

accesses the target URL through the proxy.

The list of hostnames can also include numerical IP addresses, and IPv6 versions should then be given without enclosing brackets.

IP addresses can be specified using CIDR notation: an appended slash and number specifies the number of "network bits" out of the address to use in the comparison (added in 7.86.0). For example "192.168.0.0/16" would match all addresses starting with "192.168".

APPDATA <directory>

On Windows, this variable is used when trying to find the home directory. If the primary home variables are all unset.

COLUMNS <terminal width>

If set, the specified number of characters is used as the terminal width when the alternative progress-bar is shown. If not set, curl tries to figure it out using other ways.

CURL_CA_BUNDLE <file>

If set, it is used as the --cacert value. This environment variable is ignored if Schannel is used as the TLS backend.

CURL_HOME <directory>

If set, is the first variable curl checks when trying to find its home directory. If not set, it continues to check XDG_CONFIG_HOME

CURL_SSL_BACKEND <TLS backend>

If curl was built with support for "MultiSSL", meaning that it has built-in support for more than one TLS backend, this environment variable can be set to the case insensitive name of the particular backend to use when curl is invoked. Setting a name that is not a built-in alternative makes curl stay with the default.

SSL backend names (case-insensitive): gnutls, mbedtls, openssl, rustls, schannel, wolfssl

HOME <directory>

If set, this is used to find the home directory when that is needed. Like when looking for the default .curlrc. CURL_HOME and XDG_CONFIG_HOME have preference.

NETRC <path>

If set, this is used to find the .netrc file. It overrides all other netrc file location mechanisms and should be set to the full file path. (Added in curl 8.16.0)

QLOGDIR <directory>

If curl was built with HTTP/3 support, setting this environment variable to a local directory makes curl produce qlogs in that directory, using file names named after the destination connection id (in hex). Do note that these files can become rather large. Works with the ngtcp2 and quiche QUIC backends.

SHELL

Used on VMS when trying to detect if using a DCL or a Unix shell.

SSL_CERT_DIR <directory>

If set, it is used as the --capath value. This environment variable is ignored if Schannel is used as the TLS backend.

SSL_CERT_FILE <path>

If set, it is used as the --cacert value. This environment variable is ignored if Schannel is used as the TLS backend.

SSLKEYLOGFILE <path>

If you set this environment variable to a filename, curl stores TLS secrets from its connections in that file when invoked to enable you to analyze the TLS traffic in real time using network analyzing tools such as Wireshark. This works with the following TLS backends: OpenSSL, LibreSSL (TLS 1.2 max), BoringSSL, GnuTLS, wolfSSL and Rustls.

USERPROFILE <directory>

On Windows, this variable is used when trying to find the home directory. If the other, primary, variables are all unset. If set, curl uses the path "$USERPROFILE\Application Data".

XDG_CONFIG_HOME <directory>

If CURL_HOME is not set, this variable is checked when looking for a default .curlrc file.

1<!-- Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al. -->
2<!-- SPDX-License-Identifier: curl -->
3# ENVIRONMENT
4The environment variables can be specified in lower case or upper case. The
5lower case version has precedence. `http_proxy` is an exception as it is only
6available in lower case. (Note that some systems, like Windows, do not
7differentiate between environment variables using different case.)
9Using an environment variable to set the proxy has the same effect as using
10the --proxy option.
12## `http_proxy [protocol://]<host>[:port]`
13Sets the proxy server to use for HTTP.
15## `HTTPS_PROXY [protocol://]<host>[:port]`
16Sets the proxy server to use for HTTPS.
18## `[url-protocol]_PROXY [protocol://]<host>[:port]`
19Sets the proxy server to use for [url-protocol], where the protocol is a
20protocol that curl supports and as specified in a URL. FTP, FTPS, POP3, IMAP,
21SMTP, LDAP, etc.
23## `ALL_PROXY [protocol://]<host>[:port]`
24Sets the proxy server to use if no protocol-specific proxy is set.
26## `NO_PROXY <comma-separated list of hosts/domains>`
27list of hostnames that should not go through any proxy. If set to an asterisk
28'*' only, it matches all hosts. Each name in this list is matched as either a
29domain name which contains the hostname, or the hostname itself.
31This environment variable disables use of the proxy even when specified with
32the --proxy option. That is
34 NO_PROXY=direct.example.com curl -x http://proxy.example.com
35 https://direct.example.com
37accesses the target URL directly, and
39 NO_PROXY=direct.example.com curl -x http://proxy.example.com
40 https://somewhere.example.com
42accesses the target URL through the proxy.
44The list of hostnames can also include numerical IP addresses, and IPv6
45versions should then be given without enclosing brackets.
47IP addresses can be specified using CIDR notation: an appended slash and
48number specifies the number of "network bits" out of the address to use in the
49comparison (added in 7.86.0). For example "192.168.0.0/16" would match all
50addresses starting with "192.168".
52## `APPDATA <directory>`
53On Windows, this variable is used when trying to find the home directory. If
54the primary home variables are all unset.
56## `COLUMNS <terminal width>`
57If set, the specified number of characters is used as the terminal width when
58the alternative progress-bar is shown. If not set, curl tries to figure it out
59using other ways.
61## `CURL_CA_BUNDLE <file>`
62If set, it is used as the --cacert value. This environment variable is ignored
63if Schannel is used as the TLS backend.
65## `CURL_HOME <directory>`
66If set, is the first variable curl checks when trying to find its home
67directory. If not set, it continues to check *XDG_CONFIG_HOME*
69## `CURL_SSL_BACKEND <TLS backend>`
70If curl was built with support for "MultiSSL", meaning that it has built-in
71support for more than one TLS backend, this environment variable can be set to
72the case insensitive name of the particular backend to use when curl is
73invoked. Setting a name that is not a built-in alternative makes curl stay
74with the default.
76SSL backend names (case-insensitive): **gnutls**, **mbedtls**, **openssl**,
77**rustls**, **schannel**, **wolfssl**
79## `HOME <directory>`
80If set, this is used to find the home directory when that is needed. Like when
81looking for the default .curlrc. *CURL_HOME* and *XDG_CONFIG_HOME*
82have preference.
84## `NETRC <path>`
85If set, this is used to find the `.netrc` file. It overrides all other netrc
86file location mechanisms and should be set to the full file path.
87(Added in curl 8.16.0)
89## `QLOGDIR <directory>`
90If curl was built with HTTP/3 support, setting this environment variable to a
91local directory makes curl produce **qlogs** in that directory, using file
92names named after the destination connection id (in hex). Do note that these
93files can become rather large. Works with the ngtcp2 and quiche QUIC backends.
95## `SHELL`
96Used on VMS when trying to detect if using a **DCL** or a **Unix** shell.
98## `SSL_CERT_DIR <directory>`
99If set, it is used as the --capath value. This environment variable is ignored
100if Schannel is used as the TLS backend.
102## `SSL_CERT_FILE <path>`
103If set, it is used as the --cacert value. This environment variable is ignored
104if Schannel is used as the TLS backend.
106## `SSLKEYLOGFILE <path>`
107If you set this environment variable to a filename, curl stores TLS secrets
108from its connections in that file when invoked to enable you to analyze the
109TLS traffic in real time using network analyzing tools such as Wireshark. This
110works with the following TLS backends: OpenSSL, LibreSSL (TLS 1.2 max),
111BoringSSL, GnuTLS, wolfSSL and Rustls.
113## `USERPROFILE <directory>`
114On Windows, this variable is used when trying to find the home directory. If
115the other, primary, variables are all unset. If set, curl uses the path
116**"$USERPROFILE\Application Data"**.
118## `XDG_CONFIG_HOME <directory>`
119If *CURL_HOME* is not set, this variable is checked when looking for a
120default .curlrc file.
Diagnostics4 git calls · 29 ms
CallStatusSizeTime029 ms
discover200152 B3 ms
git.upload-pack discover
http.response.status_code=200
git.upstream.cf_ray=-
git.upstream.phase=ls-refs
git.upstream.dur_ms=3
git.response.bytes=152
git.server.agent=gitty/1.0
git.server.object_format=sha1
git.server.caps=agent ls-refs fetch object-format
git.server.fetch=shallow filter sideband-all
git.protocol.version=2
git.pkt.frames=8
git.pkt.data=6
git.pkt.flush=2
git.pkt.delim=0
git.pkt.bytes=152
git.pkt.payload.max=34
ls-refs200149 B · hit3 ms
git.upload-pack ls-refs
http.response.status_code=200
git.upstream.cf_ray=-
git.upstream.phase=ls-refs
git.upstream.dur_ms=3
git.response.bytes=149
git.response.cache=HIT
git.response.duration_ms=3
git.protocol.version=2
git.pkt.frames=3
git.pkt.data=2
git.pkt.flush=1
git.pkt.delim=0
git.pkt.bytes=149
git.pkt.payload.max=78
git.ls_refs.count=2
git.ls_refs.head=refs/heads/master
fetchblob:none · deepen 10200287 KiB · hit3 ms
git.upload-pack fetch
http.response.status_code=200
git.upstream.cf_ray=-
git.upstream.phase=fetch
git.upstream.dur_ms=3
git.response.bytes=293470
git.response.cache=HIT
git.response.duration_ms=3
git.fetch.filter=blob:none
git.fetch.filter.requested=tree:0
git.fetch.filter.fallback=blob:none
git.fetch.filter.learned=false
git.fetch.wants=31c911efe5652725e930f4d2e60c9060e5f6646d
git.fetch.haves.count=0
git.fetch.deepen=10
git.fetch.thin_pack=false
git.fetch.ofs_delta=true
git.protocol.version=2
git.pkt.frames=10
git.pkt.data=8
git.pkt.flush=1
git.pkt.delim=1
git.pkt.bytes=293470
git.pkt.payload.max=65516
git.sideband.band1.bytes=293354
git.sideband.band2.bytes=0
git.sideband.band3.bytes=0
git.pack.objects=87
git.pack.bytes=293354
git.pack.ofs_delta=0
git.pack.ref_delta=1
git.pack.chain.max=1
git.pack.trailer=6a646bcda6740bab42e321b51998b52ea15146c0
git.pack.full=86
Open pack map
fetch2002.1 KiB · hit23 ms
git.upload-pack fetch
http.response.status_code=200
git.upstream.cf_ray=-
git.upstream.phase=fetch
git.upstream.dur_ms=23
git.response.bytes=2123
git.response.cache=HIT
git.response.duration_ms=23
git.fetch.wants=a3c13ae0c00d2cdf8f2d5d5ea612ede0ad8874a7
git.fetch.haves.count=0
git.fetch.deepen=0
git.fetch.thin_pack=false
git.fetch.ofs_delta=true
git.protocol.version=2
git.pkt.frames=3
git.pkt.data=2
git.pkt.flush=1
git.pkt.delim=0
git.pkt.bytes=2123
git.pkt.payload.max=2102
git.sideband.band1.bytes=2101
git.sideband.band2.bytes=0
git.sideband.band3.bytes=0

Each row is one HTTP round trip ply made to the git server for this page, on one timeline. discover asks what the server speaks, ls-refs lists branch tips, fetch brings objects by id. A hit was served by Workers Cache. Tap a row for its wire details.

Remote
https://5ad2236b39de4c8bd8f6270ea63f3ea9.artifacts.cloudflare.net/git/public-v0/curl.git
Ref
refs/heads/master
Commit
31c911efe5652725e930f4d2e60c9060e5f6646d
cf-ray
a5e34921fd174652
Request
e19acedd…
Protocol
v2 · sha1
Agent
gitty/1.0
Filter
advertised
Fetch
shallow filter sideband-all
Capabilities
agent ls-refs fetch object-format