diff options
author | KJ Tsanaktsidis <kj@kjtsanaktsidis.id.au> | 2023-11-24 15:06:20 +1100 |
---|---|---|
committer | git <svn-admin@ruby-lang.org> | 2023-11-24 04:06:25 +0000 |
commit | 02cc9d48f1958e8f22757116358cf5863cb109f4 (patch) | |
tree | 9d89eba07fd973ce02989ecb94384b515241e0d2 /lib/rubygems/command.rb | |
parent | e3b485213d06a5d9a07650174a2be9e20cb39e57 (diff) | |
download | ruby-02cc9d48f1958e8f22757116358cf5863cb109f4.tar.gz |
[ruby/resolv] Catch EPROTONOSUPPORT as a sign of no IPv6 as well
(https://github.com/ruby/resolv/pull/41)
If IPv6 is disabled inside a freebsd jail, it seems this returns
EPROTONOSUPPORT and not EAFNOSUPPORT. In both cases, we should simply
try some other listed DNS servers.
Fixes [Bug #19928] https://bugs.ruby-lang.org/issues/19928
https://github.com/ruby/resolv/commit/5e2d48708b
Diffstat (limited to 'lib/rubygems/command.rb')
0 files changed, 0 insertions, 0 deletions