exec_cgi: make output compatible with IO.copy_stream
commitc4d77de381c40cf315e6f84791e3fb634bc10675
authorEric Wong <normalperson@yhbt.net>
Fri, 21 Jan 2011 04:01:02 +0000 (21 04:01 +0000)
committerEric Wong <normalperson@yhbt.net>
Fri, 21 Jan 2011 08:23:04 +0000 (21 08:23 +0000)
tree46b6ea4df530d9c4cd1aa799126fd2ce03db3f75
parent4150a398a48b9bca96aa623380161229ac0f8622
exec_cgi: make output compatible with IO.copy_stream

Rainbows! can then use this to bypass luserspace given
the correct offset is set before hand and the file
is unlinked.
lib/unicorn/app/exec_cgi.rb