mirror of
https://github.com/ruby/ruby.git
synced 2026-10-28 16:36:20 +08:00
Net::HTTP required the whole DNS resolver, which also reads the system DNS configuration at load time, only to match Resolv::IPv4::Regex and Resolv::IPv6::Regex when deciding whether to send SNI. Use the same inlined regexps as the copy vendored in RubyGems, so that the two stay identical. https://github.com/ruby/net-http/commit/5b42d75812 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>