Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Validate extensions and abort on error #108

Merged
merged 5 commits into from
Apr 21, 2023
Merged

Conversation

bugadani
Copy link
Collaborator

@bugadani bugadani commented Apr 20, 2023

We'll still need to abort when reading forbidden extensions, but at least we don't trip over unimplemented optional ones.

cc #75 #11

@bugadani bugadani changed the title Don't die when the server sends unknown extensions Ignore unknown extensions Apr 20, 2023
Copy link
Member

@lulf lulf left a comment

Choose a reason for hiding this comment

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

Agreed it's better to reply with abort

@bugadani
Copy link
Collaborator Author

It's pretty much required to reply with abort :)

@bugadani bugadani changed the title Ignore unknown extensions Validate extensions and abort on error Apr 21, 2023
@bugadani bugadani marked this pull request as ready for review April 21, 2023 07:26
Copy link
Member

@lulf lulf left a comment

Choose a reason for hiding this comment

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

Sorry for the late review, it looks great!

@bugadani
Copy link
Collaborator Author

No worries, we're in no rush, thanks for reviewing :)

@bugadani bugadani merged commit 4322f41 into drogue-iot:main Apr 21, 2023
@bugadani bugadani deleted the early branch April 21, 2023 12:02
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