Skip to content

url: change default value for CURLOPT_MAXREDIRS to 30#11581

Closed
bagder wants to merge 1 commit intomasterfrom
bagder/maxredirs-30
Closed

url: change default value for CURLOPT_MAXREDIRS to 30#11581
bagder wants to merge 1 commit intomasterfrom
bagder/maxredirs-30

Conversation

@bagder
Copy link
Member

@bagder bagder commented Aug 2, 2023

It was previously unlimited by default, but that's not a sensible default. While changing this has a remote risk of breaking an existing use case, I figure it is more likely to actually save users from loops.

The curl tool already sets a limit on its own, so that will not be affected by this.

It was previously unlimited by default, but that's not a sensible
default. While changing this has a remote risk of breaking an existing
use case, I figure it is more likely to actually save users from loops.
@bagder bagder closed this in d135d04 Aug 2, 2023
@bagder bagder deleted the bagder/maxredirs-30 branch August 2, 2023 22:01
ptitSeb pushed a commit to wasix-org/curl that referenced this pull request Sep 25, 2023
It was previously unlimited by default, but that's not a sensible
default. While changing this has a remote risk of breaking an existing
use case, I figure it is more likely to actually save users from loops.

Closes curl#11581
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.

2 participants