diff options
author | Eric Wong <normalperson@yhbt.net> | 2011-06-10 21:35:48 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2011-06-10 21:56:34 +0000 |
commit | 1aa7eb6608d04a21d1143e7ac09e5219a1208123 (patch) | |
tree | dc986e4b75260f6e03c15a9a064bc6af512beef4 /lib/rainbows/ev_core.rb | |
parent | 27f54de4b83e20c5d68c6dd225c1d350aeee5cd3 (diff) | |
download | rainbows-1aa7eb6608d04a21d1143e7ac09e5219a1208123.tar.gz |
HttpParser#trailers and #headers are actually the same method, so we'll just continue on.
Diffstat (limited to 'lib/rainbows/ev_core.rb')
-rw-r--r-- | lib/rainbows/ev_core.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rainbows/ev_core.rb b/lib/rainbows/ev_core.rb index 5c1355f..29e0e81 100644 --- a/lib/rainbows/ev_core.rb +++ b/lib/rainbows/ev_core.rb @@ -104,7 +104,7 @@ module Rainbows::EvCore want_more end when :trailers - if @hp.trailers(@env, @buf << data) + if @hp.add_parse(data) @input.rewind app_call @input else |