socket/pure_ruby: connect with "exception:false" on Ruby 2.3+
commitcea8d77382e42132f4a433d59a5dc37fcc295ec3
authorEric Wong <e@80x24.org>
Wed, 31 Aug 2016 02:39:11 +0000 (31 02:39 +0000)
committerEric Wong <e@80x24.org>
Wed, 31 Aug 2016 02:48:17 +0000 (31 02:48 +0000)
tree213938a6b3623c748011494c5d2550be09528fc3
parent2280594d422cbaa90362105afe695629115ebf8b
socket/pure_ruby: connect with "exception:false" on Ruby 2.3+

Exceptions are expensive for common errors, so avoid raising
them under Ruby 2.3+ which allows connect_nonblock to be
called with "exception: false" kwarg.
lib/mogilefs/socket/pure_ruby.rb