event_machine: avoid slurping when proxying
commita9d1fc829fc418c2e808955b9910004dff8ab769
authorEric Wong <normalperson@yhbt.net>
Sun, 1 Nov 2009 07:24:46 +0000 (1 00:24 -0700)
committerEric Wong <normalperson@yhbt.net>
Sun, 1 Nov 2009 07:24:46 +0000 (1 00:24 -0700)
treedc24d936d71889753315d6939860ad8352e6bd22
parent5af60d002c0b708b169b76973424a33e7d0928dd
event_machine: avoid slurping when proxying

Avoid slurping in case we're a fast backend writing to a slow
client.  This should prevent our memory usage from exploding
when clients are reading slowly.
lib/rainbows/event_machine.rb