network: make verify_uris method more robust
commit8d6ced74c2538cfa3836ec14668abf02e712507e
authorEric Wong <normalperson@yhbt.net>
Wed, 25 Feb 2009 07:42:14 +0000 (24 23:42 -0800)
committerEric Wong <normalperson@yhbt.net>
Wed, 25 Feb 2009 08:07:35 +0000 (25 00:07 -0800)
tree74ffbd696d13719df711149dd3588090815916da
parent6cf59a3231bd53a1bfe91df31e900e4349a4746e
network: make verify_uris method more robust

IO.select can raise errors (IOError most notably) on bad
descriptors.  Ensure we can detect and delete them from our
waiting sets if IO.select raises something.
lib/mogilefs/network.rb
test/test_network.rb