about summary refs log tree commit homepage
path: root/extras
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2013-11-02 19:44:07 +0000
committerEric Wong <normalperson@yhbt.net>2013-11-02 21:21:28 +0000
commitb7f1d6d700ab759b316f5715533c061572c9ea7b (patch)
tree807dd28d1e7114de209c9d956f26440b01ec486e /extras
parent1b31f96631af819efc6c779d9e14b53bb7313730 (diff)
downloadyahns-b7f1d6d700ab759b316f5715533c061572c9ea7b.tar.gz
We must not directly close descriptors allocated by applications
themselves.  The only way we may close them is to issue
body.close on the response body.

A simple comparison we used before may not work because Rack
response bodies may be wrapped by middleware, so we use a
private subclass of File.
Diffstat (limited to 'extras')
0 files changed, 0 insertions, 0 deletions