Skip to content

setopt: Fix disabling all protocols - #13004

Closed
danielgustafsson wants to merge 1 commit into
curl:masterfrom
danielgustafsson:dg-protocol
Closed

danielgustafsson wants to merge 1 commit into
curl:masterfrom
danielgustafsson:dg-protocol

Conversation

@danielgustafsson

Copy link
Copy Markdown
Member

When disabling all protocols without enabling any, the resulting set of allowed protocols remained the default set. Clearing the allowed set before inspecting the passed value from --proto make the set empty even in the errorpath of no protocols enabled.

Reported-by: Dan Fandrich dan@telarity.com
Closes: #xxxx

When disabling all protocols without enabling any, the resulting
set of allowed protocols remained the default set.  Clearing the
allowed set before inspecting the passed value from --proto make
the set empty even in the errorpath of no protocols enabled.

Co-authored-by: Dan Fandrich <dan@telarity.com>
Reported-by: Dan Fandrich <dan@telarity.com>
Closes: #xxxx
@github-actions github-actions Bot added the tests label Feb 27, 2024
@danielgustafsson

Copy link
Copy Markdown
Member Author

Pushed with a comment typo-fix, thanks!

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

Labels

Development

Successfully merging this pull request may close these issues.

2 participants