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

Startup behavior and configuration checks #9

Open
gary-archer opened this issue Oct 21, 2022 · 0 comments
Open

Startup behavior and configuration checks #9

gary-archer opened this issue Oct 21, 2022 · 0 comments

Comments

@gary-archer
Copy link
Collaborator

gary-archer commented Oct 21, 2022

See if there is a better way to handle invalid configuration, rather than defaulting it on every request:

  • C modules can cause the reverse proxy to fail to start when routes are configured invalid, for early warning
  • Kong also has this behavior, due to its use of a schema, but logic based validation is also needed

The common approach seems to be to use default values and fail the request when data is wrong, which is what we do currently.

@gary-archer gary-archer changed the title Invalid configuration behavior Startup behavior and configuration checks Oct 21, 2022
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

No branches or pull requests

1 participant