From 4d8edc0200b6adae01549331d1a6e483e5e837b8 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Tue, 24 Nov 2015 22:55:30 +0000 Subject: fix broken constant lookups in unmaintained bits In case Revactor starts being maintained again... (heck, it was probably the reason I started Rainbows! in the first place...) Our ReverseProxy stuff was never complete nor marketed; and probably not worth keeping around at all. --- lib/rainbows/revactor/proxy.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/rainbows/revactor/proxy.rb') 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 -- cgit v1.2.3-24-ge0c7