Skip to content

tool_getparam: restore --socks5-gssapi-service - #23344

Closed
Rat5ak wants to merge 1 commit into
curl:masterfrom
Rat5ak:socks5-gssapi-service
Closed

Rat5ak wants to merge 1 commit into
curl:masterfrom
Rat5ak:socks5-gssapi-service

Conversation

@Rat5ak

@Rat5ak Rat5ak commented Oct 10, 2026 •

Copy link
Copy Markdown
Contributor

The option was accepted but ignored since the switch to an enum for
every option. Make it set the proxy service name again, as
--proxy-service-name does.

Extend test 1481 to verify

Follow-up to 9e4e527

Copilot AI balanced review requested due to automatic review settings October 10, 2026 15:00

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

The restored mapping is correct and covered by a focused regression test.

0 open findings

What changed in this PR

Restores --socks5-gssapi-service handling by mapping it to the proxy service name configuration.

Changes:

  • Handles the option alongside --proxy-service-name.
  • Adds test 1694 and its expected --libcurl output.
File Description
src/​tool_getparam.c Restores option parsing.
tests/​data/​test1694 Adds regression coverage.
tests/​data/​data1694.c Defines expected generated code.
tests/​data/​Makefile.am Registers test fixtures.

🧠 Review effort: Balanced


💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@vszakats

Copy link
Copy Markdown
Member

Is 117 lines of test worth it for a one-liner fix? Can this test be
combined into an existing one?

The option was accepted but ignored since the switch to an enum for
every option. Make it set the proxy service name again, as
--proxy-service-name does.

Extend test 1481 to verify

Follow-up to 9e4e527
@Rat5ak
Rat5ak force-pushed the socks5-gssapi-service branch from bae818a to e1cf004 Compare October 11, 2026 02:19
@Rat5ak

Rat5ak commented Oct 11, 2026

Copy link
Copy Markdown
Contributor Author

Fair point, it was overkill. Dropped the new test and extended test 1481 instead, since it already runs --libcurl with a proxy.

@bagder bagder closed this in a4d6184 Oct 13, 2026
@bagder

bagder commented Oct 13, 2026

Copy link
Copy Markdown
Member

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

4 participants