diff options
author | Eric Wong <normalperson@yhbt.net> | 2009-11-24 01:12:16 -0800 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2009-11-24 01:12:16 -0800 |
commit | 9cc509bda610fa5ca8c642cdcf480835b8dfc468 (patch) | |
tree | c4643afe0878a00092b40de5bf01a1314bd15453 /lib/rainbows/ev_core.rb | |
parent | 77f930cb64d32b3fac942b462cf4c7a04af730e3 (diff) | |
download | rainbows-9cc509bda610fa5ca8c642cdcf480835b8dfc468.tar.gz |
No point in rewinding the NULL_IO especially when most requests use them instead of bodies that actually have something.
Diffstat (limited to 'lib/rainbows/ev_core.rb')
-rw-r--r-- | lib/rainbows/ev_core.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/rainbows/ev_core.rb b/lib/rainbows/ev_core.rb index 017fe5c..e0fb029 100644 --- a/lib/rainbows/ev_core.rb +++ b/lib/rainbows/ev_core.rb @@ -74,6 +74,7 @@ module Rainbows end when :trailers if @hp.trailers(@env, @buf << data) + @input.rewind app_call @input.close if File === @input end |