From 01702e8506cf3d311d2cfb5a2fac932e81fe2a91 Mon Sep 17 00:00:00 2001 From: James Lee Date: Fri, 25 Jun 2010 00:31:00 +0000 Subject: [PATCH] don't rescue IOError. git-svn-id: file:///home/svn/framework3/trunk@9616 4d416f70-5f16-0410-b530-b9f4589650da --- lib/rex/services/local_relay.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/rex/services/local_relay.rb b/lib/rex/services/local_relay.rb index 938e2cbdc2..4444ae0449 100644 --- a/lib/rex/services/local_relay.rb +++ b/lib/rex/services/local_relay.rb @@ -371,7 +371,7 @@ protected # Poll all the streams... begin socks = Rex::ThreadSafe.select(rfds, nil, nil, 0.25) - rescue IOError, StreamClosedError => e + rescue StreamClosedError => e dlog("monitor_relays: closing stream #{e.stream}", 'rex', LEV_3) # Close the relay connection that is associated with the stream