coolio+xepoll_thread*: use shutdown() for keepalive timeout
[rainbows.git] / t / fast-pipe-response.ru
blob77c8d710ecc206f0ebc52f9f74aedaa79e1ab2ff
1 # must be run without Rack::Lint since that clobbers to_path
2 use Rainbows::DevFdResponse
3 run(lambda { |env|
4   [ 200,
5     {
6       'Content-Length' => ::File.stat('random_blob').size.to_s,
7       'Content-Type' => 'application/octet-stream',
8     },
9     IO.popen('cat random_blob', 'rb') ]