mirror of
https://github.com/ruby/ruby.git
synced 2026-10-29 00:46:26 +08:00
EAI_ADDRFAMILY left the IPv6 result looking successful, so a later IPv4 resolution error was not recorded and TCPSocket.new raised Socket::ResolutionError with error_code 0. When the IPv6 notification failed, EAI_ADDRFAMILY was recorded instead and hid the IPv4 error. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>