about summary refs log tree commit homepage
path: root/lib/rainbows/revactor/proxy.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rainbows/revactor/proxy.rb')
-rw-r--r--lib/rainbows/revactor/proxy.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rainbows/revactor/proxy.rb b/lib/rainbows/revactor/proxy.rb
index 4715981..6bac7d5 100644
--- a/lib/rainbows/revactor/proxy.rb
+++ b/lib/rainbows/revactor/proxy.rb
@@ -22,7 +22,7 @@ class Rainbows::Revactor::Proxy < Rev::IO
     # (instead of Errno::EPIPE), so we need to limit the rescue
     # to just readpartial and let EOFErrors during yield bubble up
     begin
-      buf = readpartial(INPUT_SIZE)
+      buf = readpartial(16384)
     rescue EOFError
       break
     end while yield(buf) || true