avoid HttpParser#keepalive? and HttpParser#reset
commit7bfd7995fd403f80940e3f6ac36f9ae58b7040cb
authorEric Wong <normalperson@yhbt.net>
Sun, 26 Dec 2010 03:30:36 +0000 (26 03:30 +0000)
committerEric Wong <normalperson@yhbt.net>
Sun, 26 Dec 2010 09:53:30 +0000 (26 09:53 +0000)
treee5822c83d2e429d893461dc32d4f0478ea281525
parent92a11cdfe00c5e551388c2cc1a62bfc59d568c6f
avoid HttpParser#keepalive? and HttpParser#reset

The HttpParser#next? method will come with keepalive protection
for Rainbows!, which can prevent clients from monopolizing a
server with excessive pipelining/keepalive requests.
lib/rainbows/event_machine.rb
lib/rainbows/rev/client.rb
lib/rainbows/rev/thread.rb