Skip to content

Latest commit

 

History

History
57 lines (38 loc) · 2.06 KB

README.md

File metadata and controls

57 lines (38 loc) · 2.06 KB

curl-http3

Docker image of curl compiled with BoringSSL and quiche/0.17.2 for HTTP3 support, httpstat for visualization.

Link for curl + http3 manual

Usage

docker run -it --rm ymuski/curl-http3 curl -V

curl 8.1.2-DEV (x86_64-pc-linux-gnu) libcurl/8.1.2-DEV BoringSSL quiche/0.17.2
Release-Date: [unreleased]
Protocols: dict file ftp ftps gopher gophers http https imap imaps mqtt pop3 pop3s rtsp smb smbs smtp smtps telnet tftp
Features: alt-svc AsynchDNS HSTS HTTP3 HTTPS-proxy IPv6 Largefile NTLM NTLM_WB SSL threadsafe UnixSockets

docker run -it --rm ymuski/curl-http3 curl -IL https://blog.cloudflare.com --http3

docker run -it --rm ymuski/curl-http3 curl -IL https://yurets.pro --http3


HTTP/3 200
date: Sun, 28 May 2023 19:03:00 GMT
content-type: text/html
last-modified: Sun, 26 Sep 2021 16:14:14 GMT
strict-transport-security: max-age=15552000; includeSubDomains; preload
cf-cache-status: DYNAMIC
report-to: {"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v3?s=0ahatt6rf%2FLHIouteXEJEQ3KOBYsfdCSbpsCotGOuaWESHJYJBrd4E6yRbUhFiLuQQ%2BsNmRujvr2A48QTpUa5BbI5iHWBNVVOCdpPaDdqqZkEh%2BQxKssoggYjY4Q"}],"group":"cf-nel","max_age":604800}
nel: {"success_fraction":0,"report_to":"cf-nel","max_age":604800}
x-content-type-options: nosniff
server: cloudflare
cf-ray: 7ce8c1510e3295a6-TBS
alt-svc: h3=":443"; ma=86400

httpstat support

docker run -it --rm ymuski/curl-http3 ./httpstat.sh -ILv https://blog.cloudflare.com --http3

docker run -it --rm ymuski/curl-http3 ./httpstat.sh -ILv https://yurets.pro --http3

Build

docker buildx build --platform linux/amd64  -t ymuski/curl-http3:latest -t ymuski/curl-http3:8.1.2 . --push

# quiche fails to compile for arm
docker buildx build --platform linux/arm,linux/arm64,linux/amd64  -t ymuski/curl-http3:latest -t ymuski/curl-http3:8.1.2 . --push