Skip to content

Comments

[pull] master from ruby:master#92

Merged
pull[bot] merged 10 commits intoturkdevops:masterfrom
ruby:master
Jul 15, 2025
Merged

[pull] master from ruby:master#92
pull[bot] merged 10 commits intoturkdevops:masterfrom
ruby:master

Conversation

@pull
Copy link

@pull pull bot commented Jul 15, 2025

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.3)

Can you help keep this open source service alive? 💖 Please sponsor : )

hsbt and others added 10 commits July 15, 2025 15:59
We can use `pathname.rb` after merging `lib/pathname.rb` to `pathname_builtin.rb`.
…o 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)
It is already a bundled gem, and only the non-built-in parts remain in
pathname.rb in ./lib and cannot work in old versions.
@pull pull bot locked and limited conversation to collaborators Jul 15, 2025
@pull pull bot added the ⤵️ pull label Jul 15, 2025
@pull pull bot merged commit 061d479 into turkdevops:master Jul 15, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants