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

Java21 and virtual threads support #71

Open
nbartels opened this issue Jul 18, 2024 · 0 comments
Open

Java21 and virtual threads support #71

nbartels opened this issue Jul 18, 2024 · 0 comments

Comments

@nbartels
Copy link

The Apache httpcomponents 5, in particular the 5.4 beta, supports virtual threads in Java21. They replaced the synchronized block in the connection pool which solves the virtual thread pinning.

Can you please update pusher-http-java to use httpcomponents 5. Would be really great and make the library ready for java21 and beyond 😉

https://todd.ginsberg.com/post/java/virtual-thread-pinning/
https://downloads.apache.org/httpcomponents/httpclient/RELEASE_NOTES-5.4.x.txt

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

No branches or pull requests

1 participant