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

Fixes for ProxyRequest and ProxyResponse with null Body #112

Merged
merged 1 commit into from
Jan 22, 2025

Conversation

tsegismont
Copy link
Contributor

Fixes #110

Backport of #111

…x#111)

See eclipse-vertx#110

In some cases, users want to skip the proxied request or the backend response entirely.
To do so, they can set a null Body in ProxyRequest or ProxyResponse.

However:

- For ProxyRequest, it led to a NPE
- For ProxyResponse, the content length was not overwritten if present

Signed-off-by: Thomas Segismont <[email protected]>
@tsegismont tsegismont merged commit 13888f2 into eclipse-vertx:4.x Jan 22, 2025
4 checks passed
@tsegismont tsegismont deleted the issue/110 branch January 22, 2025 13:42
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.

1 participant