diff options
author | normal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-04-20 20:46:08 +0000 |
---|---|---|
committer | normal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-04-20 20:46:08 +0000 |
commit | 46acbe9ddd628b378b0d711fefc7f9e0a68aa616 (patch) | |
tree | aadbdf47034cf582b77c78adde30d4e337f95a16 /test/ruby/test_object.rb | |
parent | b38a8d287c265b6428fec76163e43f2f3cd60a7d (diff) |
socket: avoid common exceptions when calling connect_nonblock
Errno::EISCONN and IO::WaitReadable exceptions are common,
expensive, and noisy under normal use. Avoid raising on them
since they are not exceptional.
* ext/socket/lib/socket.rb (connect_internal): avoid common exceptions
from connect_nonblock. [ruby-core:68909]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50363 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby/test_object.rb')
0 files changed, 0 insertions, 0 deletions