From 00b854e37391322c05cc16115b245d855b4970be Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Fri, 19 Nov 2010 10:19:43 +0000 Subject: upgrade to Kgio 2.x and Unicorn 3.x Kgio 2.0.0 has a superior API and less likely to conflict or blow up with other applications. Unicorn 3.x requires Kgio 2.x, too. --- lib/rainbows/fiber/body.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/rainbows/fiber/body.rb') diff --git a/lib/rainbows/fiber/body.rb b/lib/rainbows/fiber/body.rb index c6c4484..f3299dc 100644 --- a/lib/rainbows/fiber/body.rb +++ b/lib/rainbows/fiber/body.rb @@ -18,7 +18,7 @@ module Rainbows::Fiber::Body # :nodoc: begin offset += (n = sock.sendfile_nonblock(body, offset, count)) rescue Errno::EAGAIN - client.wait_writable + client.kgio_wait_writable retry rescue EOFError break -- cgit v1.2.3-24-ge0c7