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

increased/configure json string limit for jackson #2203

Merged
merged 1 commit into from
Jun 8, 2023
Merged

Conversation

havetisyan
Copy link
Collaborator

staring with 2.15.x, Jackson json parser started having a max limit on string length (initially 5MB, in 2.15.2 increased to 20MB). However, with large domain in Athenz, when we're passing jws domains, the payload is the base64 encoded jws document so it's treated as one string and rejected since it could be bigger than 20MB.

The zms/zms/syncer - all now default to 200MB for the string length plus provide configurable system properties to change those values if necessary.

Signed-off-by: Henry Avetisyan <hga@yahooinc.com>
@havetisyan havetisyan merged commit 82a1f1a into master Jun 8, 2023
@havetisyan havetisyan deleted the json branch June 8, 2023 14:43
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