summaryrefslogtreecommitdiff
path: root/include/ruby/missing.h
diff options
context:
space:
mode:
authorDaisuke Aritomo <osyoyu@osyoyu.com>2025-07-15 20:38:57 +0900
committerGitHub <noreply@github.com>2025-07-15 20:38:57 +0900
commitb896f80598cc096c84d57b2024813e994637af3b (patch)
tree8a67f54b4bde688cf11f35feb5d0f1be0a2d4a05 /include/ruby/missing.h
parent03800bff6999fd03076c03a3dec50fc4d1220824 (diff)
[Bug #21512] Socket.tcp_with_fast_fallback: Pass proper addr family to getaddrinfo (#13878)
Socket.tcp_with_fast_fallback: Pass proper addr family to getaddrinfo Addrinfo.getaddrinfo expects Socket::AF_INET or Socket::AF_INET6 as its third argument (family). However Socket.tcp_with_fast_fallback was incorrectly passing :ipv4 or :ipv6. Repro: require 'socket' Socket.tcp_with_fast_fallback('example.com', 80, '127.0.0.1') Expected behavior: Returns a Socket object Actual: Raises unknown socket domain: ipv4 (SocketError)
Diffstat (limited to 'include/ruby/missing.h')
0 files changed, 0 insertions, 0 deletions