From 7bb7c4469fb744135377d68e7c29cde3fbc635dc Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Fri, 10 Jun 2011 02:13:55 +0000 Subject: use HttpParser#add_parse API in Unicorn 3.7.0 It's easier-to-use in some cases. --- lib/rainbows/xepoll_thread_pool/client.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'lib/rainbows/xepoll_thread_pool') diff --git a/lib/rainbows/xepoll_thread_pool/client.rb b/lib/rainbows/xepoll_thread_pool/client.rb index 625d1ac..759202b 100644 --- a/lib/rainbows/xepoll_thread_pool/client.rb +++ b/lib/rainbows/xepoll_thread_pool/client.rb @@ -111,8 +111,7 @@ module Rainbows::XEpollThreadPool::Client return kato_set when String kato_delete - @hp.buf << buf - @hp.parse and return queue! + @hp.add_parse(buf) and return queue! else return close end while true -- cgit v1.2.3-24-ge0c7