74a365310c (master): Fix: Recalculate the timeout duration considering `open_timeout` (#15596)

0 views
Skip to first unread message

Misaki Shioi

unread,
Dec 16, 2025, 9:12:09 PM (5 hours ago) Dec 16
to ruby...@g.ruby-lang.org
Misaki Shioi 2025-12-17 02:11:39 +0000 (Wed, 17 Dec 2025)

New Revision: 74a365310c

https://github.com/ruby/ruby/commit/74a365310c

Log:
Fix: Recalculate the timeout duration considering `open_timeout` (#15596)

This change updates the behavior so that, when there is only a single destination and `open_timeout` is specified, the remaining `open_timeout` duration is used as the connection timeout.

Modified files:
ext/socket/ipsocket.c
ext/socket/lib/socket.rb
Reply all
Reply to author
Forward
0 new messages