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

Merge series/0.10 to main #1148

Open
wants to merge 20 commits into
base: main
Choose a base branch
from
Open

Merge series/0.10 to main #1148

wants to merge 20 commits into from

Conversation

hamnis
Copy link
Contributor

@hamnis hamnis commented Dec 10, 2024

A bit complicated merge in JdkHttpClient.

Please review

ybasket and others added 20 commits February 3, 2024 13:11
As Java 21+ allows explicitly closing clients, this adds new constructors that return the clients wrapped in a Resource. On older Java versions, the release is a no-op, on newer it enforces the cleanup of resources.

Also ensures the websocket client closes the input channel on release so the connection gets properly closed.

Closes #1011
Http/2 is always streaming, so setting content-length is optional.
Handle http/2 request body without content-length
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants