Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Update NEWS.md for Socket.tcp and TCPSocket.new #12347

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 15, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 6 additions & 7 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -353,13 +353,12 @@ details of the default gems or bundled gems.
* The default parser is now Prism.
To use the conventional parser, use the command-line argument `--parser=parse.y`.
[[Feature #20564]]
* Happy Eyeballs version 2 (RFC8305) is used in Socket.tcp.
To disable it, use the keyword argument `fast_fallback: false`.
[[Feature #20108]]
* Happy Eyeballs version 2 (RFC8305) is implemented in TCPSocket.new.
To enable it, use the keyword argument `fast_fallback: true`.
(This entry is temporary. It should be merged with the above entry after it becomes settled)
[[Feature #20782]]
* Happy Eyeballs version 2 (RFC8305), an algorithm that ensures faster and more reliable connections
by attempting IPv6 and IPv4 concurrently, is used in Socket.tcp and TCPSocket.new.
To disable it globally, set the environment variable `RUBY_TCP_NO_FAST_FALLBACK=1` or
call `Socket.tcp_fast_fallback=false`.
Or to disable it on a per-method basis, use the keyword argument `fast_fallback: false`.
[[Feature #20108]] [[Feature #20782]]
* Array#each is rewritten in Ruby for better performance [[Feature #20182]].

* Alternative garbage collector (GC) implementations can be loaded dynamically
Expand Down
Loading