之前 curl 版本在編譯上想要使用 HTTP3 常會失敗

終於在用 curl 8.14 加上 openssl 3.5 再 nghttp3 +  ngtcp2 編譯成功

並可順利的 get 到 HTTP3 200

curl 8.14.0 (x86_64-pc-linux-gnu) libcurl/8.14.0 OpenSSL/3.5.0 zlib/1.2.13 brotli/1.0.9 zstd/1.5.4 libidn2/2.3.3 libpsl/0.21.2 libssh2/1.10.0 nghttp2/1.52.0 ngtcp2/1.13.0 nghttp3/1.10.1 libgsasl/2.2.0 OpenLDAP/2.5.13
Release-Date: 2025-05-28
Protocols: dict file ftp ftps gopher gophers http https imap imaps ipfs ipns ldap ldaps mqtt pop3 pop3s rtsp scp sftp smb smbs smtp smtps telnet tftp ws wss
Features: alt-svc AsynchDNS brotli gsasl GSS-API HSTS HTTP2 HTTP3 HTTPS-proxy HTTPSRR IDN IPv6 Kerberos Largefile libz NTLM PSL SPNEGO SSL SSLS-EXPORT threadsafe TLS-SRP UnixSockets zstd
curl-8.14.0 --http3 -I -L https://nghttp2.org
HTTP/3 200 
date: Thu, 29 May 2025 02:52:45 GMT
content-type: text/html
last-modified: Sun, 02 Mar 2025 07:54:08 GMT
etag: "67c40ea0-18b4"
accept-ranges: bytes
content-length: 6324
x-backend-header-rtt: 0.001866
strict-transport-security: max-age=31536000
server: nghttpx
via: 2 nghttpx
x-frame-options: SAMEORIGIN
x-xss-protection: 1; mode=block
x-content-type-options: nosniff

 

Related posts 相關文章
就是一個這麼簡單的問題 ?
More...
curl 的使用調查
More...
httpx 探測爬網好用工具
More...
CVE-2023-44487 HTTP/2 協定漏洞史上最大 DDoS 攻擊
More...

作者

留言

撰寫回覆或留言

發佈留言必須填寫的電子郵件地址不會公開。