diff options
author | Blake Williams <blake@blakewilliams.me> | 2020-12-08 16:47:16 -0500 |
---|---|---|
committer | Eric Wong <bofh@yhbt.net> | 2020-12-09 21:58:33 +0000 |
commit | 673c15e3f020bccc0336838617875b26c9a45f4e (patch) | |
tree | 79112011c77d624338a47cea0316684031322fad /GIT-VERSION-GEN | |
parent | 2c347116305338710331d238fefa23f00e98cf54 (diff) | |
download | unicorn-673c15e3f020bccc0336838617875b26c9a45f4e.tar.gz |
This adds `rack.after_reply` functionality which allows rack middleware to pass lambdas that will be executed after the client connection has been closed. This was driven by a need to perform actions in a request that shouldn't block the request from completing but also don't make sense as background jobs. There is prior art of this being supported found in a few gems, as well as this functionality existing in other rack based servers (e.g. Puma). [ew: check if `env' is set in ensure statement] Acked-by: Eric Wong <e@80x24.org>
Diffstat (limited to 'GIT-VERSION-GEN')
0 files changed, 0 insertions, 0 deletions