Daisuke Aritomo f29d772a73 [ruby/net-http] Remember if TCPSocket impl supports open_timeout
For open_timeout support detection, the previous implementation relied
on an ArgumentError being raised and then rescued. In Ruby, rescue is a
rather expensive operation and should be avoided when possible.

This patch reduces the number of begin-rescues by remembering if the
TCPSocket implementation supports open_timeout.

https://github.com/ruby/net-http/commit/06d982f3a1
2025-11-10 02:40:46 +00:00
..
2025-10-28 03:57:57 +00:00
2025-11-04 06:53:18 +00:00
2025-10-31 00:14:23 +00:00
2025-10-29 07:34:58 +00:00
2025-10-06 19:10:44 +09:00
2025-10-29 06:50:19 +00:00