rev/event_machine: avoid needless rewinds
commit9cc509bda610fa5ca8c642cdcf480835b8dfc468
authorEric Wong <normalperson@yhbt.net>
Tue, 24 Nov 2009 09:12:16 +0000 (24 01:12 -0800)
committerEric Wong <normalperson@yhbt.net>
Tue, 24 Nov 2009 09:12:16 +0000 (24 01:12 -0800)
treec4643afe0878a00092b40de5bf01a1314bd15453
parent77f930cb64d32b3fac942b462cf4c7a04af730e3
rev/event_machine: avoid needless rewinds

No point in rewinding the NULL_IO especially when most requests
use them instead of bodies that actually have something.
lib/rainbows/ev_core.rb
lib/rainbows/event_machine.rb
lib/rainbows/rev/client.rb