Skip to content

Conversation

@pboos
Copy link
Contributor

@pboos pboos commented Mar 18, 2024

Problem

When using spring-boot-starter-undertow all POST requests that require a body fail with a violation that body is required but missing.

Solution

Somehow in undertow the InputStream is not finished but the cached content is already there. So we should read the cached content if there is any.

@pboos pboos requested a review from a team as a code owner March 18, 2024 15:25
@pboos pboos requested a review from catarina-correia March 18, 2024 15:25
Copy link

@omartchokhani omartchokhani left a comment

Choose a reason for hiding this comment

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

🍰

@pboos pboos merged commit 17295d8 into main Mar 18, 2024
@pboos pboos deleted the bugfix/undertow-request-body branch March 18, 2024 19:09
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.

4 participants