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

Use Futures instead of latches to synchronize request processing #276

Open
sapessi opened this issue Aug 11, 2019 · 0 comments
Open

Use Futures instead of latches to synchronize request processing #276

sapessi opened this issue Aug 11, 2019 · 0 comments

Comments

@sapessi
Copy link
Collaborator

sapessi commented Aug 11, 2019

  • Framework version: 2.0
  • Implementations: All

Scenario

The framework currently uses latches on the HttpServletResponse implementation to wait for the completion of a request. We should change this to use Futures. This need for this was highlighted in #272 as throwing an exception without releasing the latch may cause memory leaks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants