diff options
author | Eric Wong <normalperson@yhbt.net> | 2011-01-20 13:26:59 -0800 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2011-01-20 22:11:15 +0000 |
commit | 7ec2e407206036a993aadbcd39b13a2d86b7a288 (patch) | |
tree | 7241b687f1cb7a4530514bc07eea55095195f828 /lib/rainbows/epoll/client.rb | |
parent | 7ad4e300c29b06fd53aca9f9bad18f97f9a34633 (diff) | |
download | rainbows-7ec2e407206036a993aadbcd39b13a2d86b7a288.tar.gz |
Nothing we can do about that from clients. Perhaps kgio should just return nil for those...
Diffstat (limited to 'lib/rainbows/epoll/client.rb')
-rw-r--r-- | lib/rainbows/epoll/client.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/rainbows/epoll/client.rb b/lib/rainbows/epoll/client.rb index a3ae6db..334baa3 100644 --- a/lib/rainbows/epoll/client.rb +++ b/lib/rainbows/epoll/client.rb @@ -44,6 +44,8 @@ module Rainbows::Epoll::Client break end until :close == @state close unless closed? + rescue Errno::ECONNRESET + close rescue IOError end |