summary refs log tree commit homepage
path: root/lib/rainbows/sync_close.rb
AgeCommit message (Collapse)AuthorFilesLines
2011-02-06minimize &block usage for yieldEric Wong1-2/+2
No need to allocate a proc every time when we can just yield much more efficiently.
2010-12-28several response body#close fixesEric Wong1-0/+37
Some middlewares require the Rack env to be preserved all the way through to close, so we'll ensure all request models preserve it. We also need to better response body wrappers/proxies always get fired properly when returning. IO.copy_stream and "sendfile" gem users could hit cases where wrappers did not fire properly.