Home - Waterfall Grid T-Grid Console Builders Recent Builds Buildslaves Changesources - JSON API - About

Change #282197

Category None
Changed by Joshua Rogers <MegaManSecohnoyoudont@users.noreply.github.com>
Changed at Sat 19 Sep 2026 10:31:28
Repository https://api.github.com/repos/curl/curl
Project curl/curl
Branch master
Revision e47b56a762058ed1b3ea4ac8a8d4fdc98abac088

Comments

socks: support CURLAUTH_ONLY in CURLOPT_SOCKS5_AUTH

The SOCKS5 method negotiation always offered "no authentication" and
accepted it, so the bitmask could not express that the connection has to
be authenticated. CURLAUTH_NONE is zero and cannot say it either.

With CURLAUTH_ONLY set, the method is neither offered nor accepted, and
a connection that did not authenticate is not reused.

Document both, and add tests 1742, 1743 and 1744.

Closes #23003

Changed files