Commit f64109e
committed
Raise
With the changes in ruby/ruby#15602, `TCPSocket.open` now raises `IO::TimeoutError` when a user-specified timeout occurs.
This change updates #connect to handle this case accordingly.Net::OpenTimeout when TCPSocket.open raises IO::TimeoutError.1 parent e8e37bb commit f64109e
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1676 | 1676 | | |
1677 | 1677 | | |
1678 | 1678 | | |
1679 | | - | |
| 1679 | + | |
| 1680 | + | |
| 1681 | + | |
1680 | 1682 | | |
1681 | 1683 | | |
1682 | 1684 | | |
| |||
0 commit comments