cURL 8.1 Release: New HTTP/2 Proxy Support, .onion TLD Rejection, and Expanded -w Variables
cURL 8.1 introduces three main changes: support for HTTP/2 over HTTPS proxies via the –proxy-http2 option, rejection of hostnames ending with .onion during DNS resolution, and an expanded set of variables for the -w option to output URL components.
cURL is a computer software project that provides a library (libcurl) and a command‑line tool (curl) for transferring data with various network protocols. The name stands for "Client URL".
Changes
cURL 8.1 includes three real changes, one major and two minor:
HTTP/2 over proxy
libcurl can now negotiate and use HTTP/2 when instructed to use an HTTPS proxy, and the command‑line tool can enable this with the --proxy-http2 option.
Reject parsing .onion TLD
When a hostname ending with .onion is passed to the name‑resolution function, it now results in an error and will not be resolved.
curl -w option can now output URL components
The list of variables for the -w option has been expanded with a series of new variables representing URL components.
Laravel Tech Community
Specializing in Laravel development, we continuously publish fresh content and grow alongside the elegant, stable Laravel framework.
How this landed with the community
Was this worth your time?
0 Comments
Thoughtful readers leave field notes, pushback, and hard-won operational detail here.