Skip to content

Use Futures instead of latches to synchronize request processing #276

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

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
Contributor

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.

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

No branches or pull requests

2 participants