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

Feature/content length error message #1197

Merged
merged 9 commits into from
Mar 30, 2022

Conversation

KalevGonvick
Copy link
Member

  • Added more checks to see if the payload is too large for undertow max buffer or if the payload has invalid formatting.

@KalevGonvick KalevGonvick requested a review from stevehu March 30, 2022 18:47
@stevehu stevehu merged commit f03e962 into master Mar 30, 2022
@stevehu stevehu deleted the feature/content-length-error-message branch March 30, 2022 21:24
younggwon1 pushed a commit to younggwon1/light-4j that referenced this pull request Feb 10, 2024
* reworked proxy body handler

* Cleaned up unused functions

* Another rework to preserve handler chain consistency for proxy handler

* Added more checks to differentiate between payloads exceeding maxBufferSize and invalid formatting

* - Added more specific exception catch for reading buffer + reduced the amount of parsing JSON
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