From 1aa7eb6608d04a21d1143e7ac09e5219a1208123 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Fri, 10 Jun 2011 21:35:48 +0000 Subject: ev_core: use add_parse for trailers, too HttpParser#trailers and #headers are actually the same method, so we'll just continue on. --- lib/rainbows/ev_core.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3-24-ge0c7