diff options
Diffstat (limited to 'lib/rainbows/reverse_proxy/synchronous.rb')
-rw-r--r-- | lib/rainbows/reverse_proxy/synchronous.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rainbows/reverse_proxy/synchronous.rb b/lib/rainbows/reverse_proxy/synchronous.rb index b5911a9..bbb9ec5 100644 --- a/lib/rainbows/reverse_proxy/synchronous.rb +++ b/lib/rainbows/reverse_proxy/synchronous.rb @@ -3,7 +3,7 @@ module Rainbows::ReverseProxy::Synchronous UpstreamSocket = Rainbows::ReverseProxy::UpstreamSocket - def each_block(input, &block) + def each_block(input) buf = "" while input.read(16384, buf) yield buf |