diff options
author | Eric Wong <normalperson@yhbt.net> | 2009-10-17 22:42:56 -0700 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2009-10-17 22:42:56 -0700 |
commit | b4d479681c257d91c7784a6698264719632be374 (patch) | |
tree | 4714ae45b626a78c3891b28715d51e6fb12812e8 /lib | |
parent | 2dd23ad0a97d8818eba8298acd8c51405725b099 (diff) | |
download | rainbows-b4d479681c257d91c7784a6698264719632be374.tar.gz |
This leaves us vulnerable to stack overflows through excessive pipelining. The next patch will fix things hopefully.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/rainbows/rev.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/rainbows/rev.rb b/lib/rainbows/rev.rb index 7d941f6..cb0dd31 100644 --- a/lib/rainbows/rev.rb +++ b/lib/rainbows/rev.rb @@ -77,6 +77,7 @@ module Rainbows @env.clear @hp.reset @state = :headers + on_read("") # in case next request was fully-buffered else @state = :close end |