don't rescue IOError.

git-svn-id: file:///home/svn/framework3/trunk@9616 4d416f70-5f16-0410-b530-b9f4589650da
This commit is contained in:
James Lee 2010-06-25 00:31:00 +00:00
parent 6e01b03767
commit 01702e8506
1 changed files with 1 additions and 1 deletions

View File

@ -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