Artifactspublic-v0

curl

master
ply4 git calls28 ms289 KiB3 cachedprotocol v2
242 lines5.7 KiBRaw

Features -- what curl can do

curl tool

  • config file support
  • multiple URLs in a single command line
  • range "globbing" support: [0-13], {one,two,three}
  • multiple file upload on a single command line
  • redirect stderr
  • parallel transfers

libcurl

  • URL RFC 3986 syntax
  • custom maximum download time
  • custom lowest download speed acceptable
  • custom output result after completion
  • guesses protocol from hostname unless specified
  • supports .netrc
  • progress bar with time statistics while downloading
  • standard proxy environment variables support
  • have run on 101 operating systems and 28 CPU architectures
  • selectable network interface for outgoing traffic
  • IPv6 support on Unix and Windows
  • happy eyeballs dual-stack IPv4 + IPv6 connects
  • persistent connections
  • SOCKS 4 + 5 support, with or without local name resolving
  • pre-proxy support, for proxy chaining
  • supports username and password in proxy environment variables
  • operations through HTTP proxy "tunnel" (using CONNECT)
  • replaceable memory functions (malloc, free, realloc, etc)
  • asynchronous name resolving
  • both a push and a pull style interface
  • international domain names (IDN)
  • transfer rate limiting
  • stable API and ABI
  • TCP keep alive
  • TCP Fast Open
  • DNS cache (that can be shared between transfers)
  • non-blocking single-threaded parallel transfers
  • Unix domain sockets to server or proxy
  • DNS-over-HTTPS
  • uses non-blocking name resolves
  • selectable name resolver backend

URL API

  • parses RFC 3986 URLs
  • generates URLs from individual components
  • manages "redirects"

Header API

  • easy access to HTTP response headers, from all contexts
  • named headers
  • iterate over headers

TLS

  • selectable TLS backend(s)
  • TLS False Start
  • TLS version control
  • TLS session resumption
  • key pinning
  • mutual authentication
  • Use dedicated CA cert bundle
  • Use OS-provided CA store
  • separate TLS options for HTTPS proxy

HTTP

  • HTTP/0.9 responses are optionally accepted
  • HTTP/1.0
  • HTTP/1.1
  • HTTP/2, including multiplexing and server push
  • GET
  • PUT
  • HEAD
  • POST
  • multipart formpost (RFC 1867-style)
  • authentication: Basic, Digest and Negotiate (SPNEGO) to server and proxy
  • resume transfers
  • follow redirects
  • maximum amount of redirects to follow
  • custom HTTP request
  • cookie get/send fully parsed
  • reads/writes the Netscape cookie file format
  • custom headers (replace/remove internally generated headers)
  • custom user-agent string
  • custom referrer string
  • range
  • proxy authentication
  • time conditions
  • via HTTP proxy, HTTPS proxy or SOCKS proxy
  • HTTP/2 or HTTP/1.1 to HTTPS proxy
  • retrieve file modification date
  • Content-Encoding support for deflate, gzip, brotli and zstd
  • "Transfer-Encoding: chunked" support in uploads
  • HSTS
  • alt-svc
  • ETags
  • HTTP/1.1 trailers, both sending and getting

HTTPS

  • HTTP/3
  • using client certificates
  • verify server certificate
  • via HTTP proxy, HTTPS proxy or SOCKS proxy
  • select desired encryption
  • select usage of a specific TLS version
  • ECH

FTP

  • download
  • authentication
  • Kerberos 5
  • active/passive using PORT, EPRT, PASV or EPSV
  • single file size information (compare to HTTP HEAD)
  • 'type=' URL support
  • directory listing
  • directory listing names-only
  • upload
  • upload append
  • upload via http-proxy as HTTP PUT
  • download resume
  • upload resume
  • custom ftp commands (before and/or after the transfer)
  • simple "range" support
  • via HTTP proxy, HTTPS proxy or SOCKS proxy
  • all operations can be tunneled through proxy
  • customizable to retrieve file modification date
  • no directory depth limit

FTPS

  • implicit ftps:// support that use SSL on both connections
  • explicit "AUTH TLS" and "AUTH SSL" usage to "upgrade" plain ftp:// connection to use SSL for both or one of the connections

SSH (both SCP and SFTP)

  • selectable SSH backend
  • known hosts support
  • public key fingerprinting
  • both password and public key auth

SFTP

  • both password and public key auth
  • with custom commands sent before/after the transfer
  • directory listing

TFTP

  • download
  • upload

TELNET

  • connection negotiation
  • custom telnet options
  • stdin/stdout I/O

LDAP

  • full LDAP URL support

DICT

  • extended DICT URL support

FILE

  • URL support
  • upload
  • resume

SMTP

  • authentication: Plain, Login, CRAM-MD5, Digest-MD5, Kerberos 5 and External
  • send emails
  • mail from support
  • mail size support
  • mail auth support for trusted server-to-server relaying
  • multiple recipients
  • via http-proxy

SMTPS

  • implicit smtps:// support
  • explicit "STARTTLS" usage to "upgrade" plain smtp:// connections to use SSL
  • via http-proxy

POP3

  • authentication: Clear Text, APOP and SASL
  • SASL based authentication: Plain, Login, CRAM-MD5, Digest-MD5 Kerberos 5 and External
  • list emails
  • retrieve emails
  • enhanced command support for: CAPA, DELE, TOP, STAT, UIDL and NOOP via custom requests
  • via http-proxy

POP3S

  • implicit pop3s:// support
  • explicit STLS usage to "upgrade" plain pop3:// connections to use SSL
  • via http-proxy

IMAP

  • authentication: Clear Text and SASL
  • SASL based authentication: Plain, Login, CRAM-MD5, Digest-MD5, Kerberos 5 and External
  • list the folders of a mailbox
  • select a mailbox with support for verifying the UIDVALIDITY
  • fetch emails with support for specifying the UID and SECTION
  • upload emails via the append command
  • enhanced command support for: EXAMINE, CREATE, DELETE, RENAME, STATUS, STORE, COPY and UID via custom requests
  • via http-proxy

IMAPS

  • implicit imaps:// support
  • explicit "STARTTLS" usage to "upgrade" plain imap:// connections to use SSL
  • via http-proxy

MQTT

  • Subscribe to and publish topics using URL scheme mqtt://broker/topic
1<!--
2Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
4SPDX-License-Identifier: curl
5-->
7# Features -- what curl can do
9## curl tool
11- config file support
12- multiple URLs in a single command line
13- range "globbing" support: [0-13], {one,two,three}
14- multiple file upload on a single command line
15- redirect stderr
16- parallel transfers
18## libcurl
20- URL RFC 3986 syntax
21- custom maximum download time
22- custom lowest download speed acceptable
23- custom output result after completion
24- guesses protocol from hostname unless specified
25- supports .netrc
26- progress bar with time statistics while downloading
27- standard proxy environment variables support
28- have run on 101 operating systems and 28 CPU architectures
29- selectable network interface for outgoing traffic
30- IPv6 support on Unix and Windows
31- happy eyeballs dual-stack IPv4 + IPv6 connects
32- persistent connections
33- SOCKS 4 + 5 support, with or without local name resolving
34- *pre-proxy* support, for *proxy chaining*
35- supports username and password in proxy environment variables
36- operations through HTTP proxy "tunnel" (using CONNECT)
37- replaceable memory functions (malloc, free, realloc, etc)
38- asynchronous name resolving
39- both a push and a pull style interface
40- international domain names (IDN)
41- transfer rate limiting
42- stable API and ABI
43- TCP keep alive
44- TCP Fast Open
45- DNS cache (that can be shared between transfers)
46- non-blocking single-threaded parallel transfers
47- Unix domain sockets to server or proxy
48- DNS-over-HTTPS
49- uses non-blocking name resolves
50- selectable name resolver backend
52## URL API
54- parses RFC 3986 URLs
55- generates URLs from individual components
56- manages "redirects"
58## Header API
60- easy access to HTTP response headers, from all contexts
61- named headers
62- iterate over headers
64## TLS
66- selectable TLS backend(s)
67- TLS False Start
68- TLS version control
69- TLS session resumption
70- key pinning
71- mutual authentication
72- Use dedicated CA cert bundle
73- Use OS-provided CA store
74- separate TLS options for HTTPS proxy
76## HTTP
78- HTTP/0.9 responses are optionally accepted
79- HTTP/1.0
80- HTTP/1.1
81- HTTP/2, including multiplexing and server push
82- GET
83- PUT
84- HEAD
85- POST
86- multipart formpost (RFC 1867-style)
87- authentication: Basic, Digest and Negotiate (SPNEGO)
88 to server and proxy
89- resume transfers
90- follow redirects
91- maximum amount of redirects to follow
92- custom HTTP request
93- cookie get/send fully parsed
94- reads/writes the Netscape cookie file format
95- custom headers (replace/remove internally generated headers)
96- custom user-agent string
97- custom referrer string
98- range
99- proxy authentication
100- time conditions
101- via HTTP proxy, HTTPS proxy or SOCKS proxy
102- HTTP/2 or HTTP/1.1 to HTTPS proxy
103- retrieve file modification date
104- Content-Encoding support for deflate, gzip, brotli and zstd
105- "Transfer-Encoding: chunked" support in uploads
106- HSTS
107- alt-svc
108- ETags
109- HTTP/1.1 trailers, both sending and getting
111## HTTPS
113- HTTP/3
114- using client certificates
115- verify server certificate
116- via HTTP proxy, HTTPS proxy or SOCKS proxy
117- select desired encryption
118- select usage of a specific TLS version
119- ECH
121## FTP
123- download
124- authentication
125- Kerberos 5
126- active/passive using PORT, EPRT, PASV or EPSV
127- single file size information (compare to HTTP HEAD)
128- 'type=' URL support
129- directory listing
130- directory listing names-only
131- upload
132- upload append
133- upload via http-proxy as HTTP PUT
134- download resume
135- upload resume
136- custom ftp commands (before and/or after the transfer)
137- simple "range" support
138- via HTTP proxy, HTTPS proxy or SOCKS proxy
139- all operations can be tunneled through proxy
140- customizable to retrieve file modification date
141- no directory depth limit
143## FTPS
145- implicit `ftps://` support that use SSL on both connections
146- explicit "AUTH TLS" and "AUTH SSL" usage to "upgrade" plain `ftp://`
147 connection to use SSL for both or one of the connections
149## SSH (both SCP and SFTP)
151- selectable SSH backend
152- known hosts support
153- public key fingerprinting
154- both password and public key auth
156## SFTP
158- both password and public key auth
159- with custom commands sent before/after the transfer
160- directory listing
162## TFTP
164- download
165- upload
167## TELNET
169- connection negotiation
170- custom telnet options
171- stdin/stdout I/O
173## LDAP
175- full LDAP URL support
177## DICT
179- extended DICT URL support
181## FILE
183- URL support
184- upload
185- resume
187## SMTP
189- authentication: Plain, Login, CRAM-MD5, Digest-MD5, Kerberos 5 and
190 External
191- send emails
192- mail from support
193- mail size support
194- mail auth support for trusted server-to-server relaying
195- multiple recipients
196- via http-proxy
198## SMTPS
200- implicit `smtps://` support
201- explicit "STARTTLS" usage to "upgrade" plain `smtp://` connections to use SSL
202- via http-proxy
204## POP3
206- authentication: Clear Text, APOP and SASL
207- SASL based authentication: Plain, Login, CRAM-MD5, Digest-MD5
208 Kerberos 5 and External
209- list emails
210- retrieve emails
211- enhanced command support for: CAPA, DELE, TOP, STAT, UIDL and NOOP via
212 custom requests
213- via http-proxy
215## POP3S
217- implicit `pop3s://` support
218- explicit `STLS` usage to "upgrade" plain `pop3://` connections to use SSL
219- via http-proxy
221## IMAP
223- authentication: Clear Text and SASL
224- SASL based authentication: Plain, Login, CRAM-MD5, Digest-MD5,
225 Kerberos 5 and External
226- list the folders of a mailbox
227- select a mailbox with support for verifying the `UIDVALIDITY`
228- fetch emails with support for specifying the UID and SECTION
229- upload emails via the append command
230- enhanced command support for: EXAMINE, CREATE, DELETE, RENAME, STATUS,
231 STORE, COPY and UID via custom requests
232- via http-proxy
234## IMAPS
236- implicit `imaps://` support
237- explicit "STARTTLS" usage to "upgrade" plain `imap://` connections to use SSL
238- via http-proxy
240## MQTT
242- Subscribe to and publish topics using URL scheme `mqtt://broker/topic`
Diagnostics4 git calls · 28 ms
CallStatusSizeTime028 ms
discover200152 B2 ms
git.upload-pack discover
http.response.status_code=200
git.upstream.cf_ray=-
git.upstream.phase=ls-refs
git.upstream.dur_ms=2
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.5 KiB · hit22 ms
git.upload-pack fetch
http.response.status_code=200
git.upstream.cf_ray=-
git.upstream.phase=fetch
git.upstream.dur_ms=22
git.response.bytes=2601
git.response.cache=HIT
git.response.duration_ms=22
git.fetch.wants=dc04e1f1b364202a215744c68b007da951c0544a
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=2601
git.pkt.payload.max=2580
git.sideband.band1.bytes=2579
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
a5e15f633cad725b
Request
d0de1785…
Protocol
v2 · sha1
Agent
gitty/1.0
Filter
advertised
Fetch
shallow filter sideband-all
Capabilities
agent ls-refs fetch object-format