Skip to content

Commit

Permalink
Ensure close is called on the response body no matter what
Browse files Browse the repository at this point in the history
Another fallout from puma#2809 is that
in some cases the `res_body.close` wasn't called because some previous code
raised.

For Rails apps it means CurrentAttributes and a few other important
states aren't reset properly.

This is being improved on the Rails side too, but I believe it would
be good to harden this on the puma side as well.
  • Loading branch information
byroot authored and MSP-Greg committed Apr 3, 2022
1 parent 39c9144 commit a295857
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit a295857

Please sign in to comment.