Skip to content

validate options passed to socket longpoll / websocket options#6072

Merged
SteffenDE merged 1 commit intomainfrom
sd-validate-socket-opts
Feb 5, 2025
Merged

validate options passed to socket longpoll / websocket options#6072
SteffenDE merged 1 commit intomainfrom
sd-validate-socket-opts

Conversation

@SteffenDE
Copy link
Contributor

We cannot validate options other than websocket / longpoll, because they might be used by custom sockets. See ab2ff9e#diff-5ab73ffaee87d2c9de2a1455f11157d5d3c0dd01157ee019d58d37b19dafd68eR29.

@josevalim please double check if validating the websocket / longpoll keys is actually fine.

Copy link
Member

@josevalim josevalim left a comment

Choose a reason for hiding this comment

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

LGTM but let's not backport this one, as it may crash!

@SteffenDE SteffenDE merged commit 91d25f5 into main Feb 5, 2025
10 checks passed
@SteffenDE SteffenDE deleted the sd-validate-socket-opts branch February 5, 2025 14:30
SteffenDE added a commit that referenced this pull request Feb 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants