-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix Error handler rebinding the body (#548)
* Fix Error handler rebinding the body When we read the body for a request, and then try to re-read it for a different Body type in an error handler, we fail as the stream is already exhausted This PR caches the input-stream and re-sets it whenever the input-stream is re-required Also updated micronaut core, reactor and undertow * Revert change and document issues
- Loading branch information
Showing
6 changed files
with
19 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
There are some known issues with Servlet integration to the Micronaut Framework | ||
|
||
=== HttpProxyClient and Server Filters | ||
|
||
It is not currently possible to use the HttpProxyClient with Servlet Filters. | ||
|
||
=== Error handlers re-reading the request body | ||
|
||
Local error handlers that require the request body to be reparsed will not work in Servlet based applications. | ||
The body is read from the request input-stream and so attempting to reparse it for the error handler will fail. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters