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/event_machine.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/event_machine.rb')
-rw-r--r-- | lib/rainbows/event_machine.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rainbows/event_machine.rb b/lib/rainbows/event_machine.rb index 54c1bc0..b099721 100644 --- a/lib/rainbows/event_machine.rb +++ b/lib/rainbows/event_machine.rb @@ -53,7 +53,7 @@ module Rainbows def app_call set_comm_inactivity_timeout 0 begin - (@env[RACK_INPUT] = @input).rewind + @env[RACK_INPUT] = @input @env[REMOTE_ADDR] = @remote_addr @env[ASYNC_CALLBACK] = method(:response_write) |