revactor: implement sendfile and range support
commit3a96720e4e0f1d14599b9fae10e210110976e0c5
authorEric Wong <normalperson@yhbt.net>
Mon, 2 Aug 2010 01:24:25 +0000 (2 01:24 +0000)
committerEric Wong <normalperson@yhbt.net>
Mon, 2 Aug 2010 01:29:31 +0000 (2 01:29 +0000)
tree75ef1525ad9e615eb634b84aa811e64ed332cd99
parent44f66366245c9fbe065ba8cd95ca704c05c53639
revactor: implement sendfile and range support

Due to the synchronous nature of Revactor, we can
be certain sendfile won't overstep the userspace
output buffering done by Rev.
lib/rainbows/response.rb
lib/rainbows/revactor.rb
lib/rainbows/revactor/body.rb [new file with mode: 0644]
t/t0023-sendfile-byte-range.sh