Skip to content

setopt: when setting bad protocols, don't store them - #19389

Closed
bagder wants to merge 1 commit into
masterfrom
bagder/protocol-error-not-set
Closed

setopt: when setting bad protocols, don't store them#19389
bagder wants to merge 1 commit into
masterfrom
bagder/protocol-error-not-set

Conversation

@bagder

@bagder bagder commented Nov 6, 2025

Copy link
Copy Markdown
Member

Both CURLOPT_PROTOCOLS_STR and CURLOPT_REDIR_PROTOCOLS_STR would previously return error on bad input but would wrongly still store and keep the partial (unacceptable) result in the handle.

Both CURLOPT_PROTOCOLS_STR and CURLOPT_REDIR_PROTOCOLS_STR would
previously return error on bad input but would wrongly still store and
keep the partial (unacceptable) result in the handle.
@bagder
bagder force-pushed the bagder/protocol-error-not-set branch from be54127 to 02c3dc8 Compare November 6, 2025 22:43
@bagder
bagder marked this pull request as ready for review November 6, 2025 22:43
@bagder bagder closed this in 684af00 Nov 7, 2025
@bagder
bagder deleted the bagder/protocol-error-not-set branch November 7, 2025 07:16
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.

1 participant