about summary refs log tree commit homepage
path: root/lib/rainbows/xepoll_thread_pool/client.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rainbows/xepoll_thread_pool/client.rb')
-rw-r--r--lib/rainbows/xepoll_thread_pool/client.rb3
1 files changed, 1 insertions, 2 deletions
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