about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2011-06-10 21:35:48 +0000
committerEric Wong <normalperson@yhbt.net>2011-06-10 21:56:34 +0000
commit1aa7eb6608d04a21d1143e7ac09e5219a1208123 (patch)
treedc986e4b75260f6e03c15a9a064bc6af512beef4
parent27f54de4b83e20c5d68c6dd225c1d350aeee5cd3 (diff)
HttpParser#trailers and #headers are actually the same
method, so we'll just continue on.
-rw-r--r--lib/rainbows/ev_core.rb2
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