diff options
-rw-r--r-- | lib/rainbows/client.rb | 2 | ||||
-rw-r--r-- | lib/rainbows/process_client.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/rainbows/client.rb b/lib/rainbows/client.rb index 9b65cea..7387c44 100644 --- a/lib/rainbows/client.rb +++ b/lib/rainbows/client.rb @@ -16,7 +16,7 @@ class Rainbows::Client < Kgio::Socket def timed_read(buf) expire = nil begin - case rv = kgio_tryread(16384, buf) + case rv = kgio_tryread(0x1000, buf) when :wait_readable return if expire && expire < Time.now expire ||= read_expire diff --git a/lib/rainbows/process_client.rb b/lib/rainbows/process_client.rb index 24132f5..6201064 100644 --- a/lib/rainbows/process_client.rb +++ b/lib/rainbows/process_client.rb @@ -10,7 +10,7 @@ module Rainbows::ProcessClient def process_loop @hp = hp = Rainbows::HttpParser.new - kgio_read!(16384, buf = hp.buf) or return + kgio_read!(0x1000, buf = hp.buf) or return begin # loop until env = hp.parse |