diff options
Diffstat (limited to 'lib/rainbows/revactor')
-rw-r--r-- | lib/rainbows/revactor/proxy.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rainbows/revactor/proxy.rb b/lib/rainbows/revactor/proxy.rb index a7d3be1..4715981 100644 --- a/lib/rainbows/revactor/proxy.rb +++ b/lib/rainbows/revactor/proxy.rb @@ -17,7 +17,7 @@ class Rainbows::Revactor::Proxy < Rev::IO end end - def each(&block) + def each # when yield-ing, Revactor::TCP#write may raise EOFError # (instead of Errno::EPIPE), so we need to limit the rescue # to just readpartial and let EOFErrors during yield bubble up |