Skip to content

bugfix: undertow has missing request body - #90

Merged
pboos merged 5 commits into
mainfrom
bugfix/undertow-request-body
Mar 18, 2024
Merged

bugfix: undertow has missing request body#90
pboos merged 5 commits into
mainfrom
bugfix/undertow-request-body

Conversation

@pboos

Copy link
Copy Markdown
Contributor

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 review from a team and catarina-correiaMarch 18, 2024 15:25

@omartchokhaniomartchokhani left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🍰

Sign up for freeto 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.

3 participants

@pboos@eleonoraborghi@omartchokhani