Backend Development 2 min read

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.

Laravel Tech Community
Laravel Tech Community
Laravel Tech Community
cURL 8.1 Release: New HTTP/2 Proxy Support, .onion TLD Rejection, and Expanded -w Variables

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.

Proxycommand linereleasecurlHTTP/2libcurlOnion
Laravel Tech Community
Written by

Laravel Tech Community

Specializing in Laravel development, we continuously publish fresh content and grow alongside the elegant, stable Laravel framework.

0 followers
Reader feedback

How this landed with the community

login Sign in to like

Rate this article

Was this worth your time?

Sign in to rate
Discussion

0 Comments

Thoughtful readers leave field notes, pushback, and hard-won operational detail here.