RFR: 7116990: (spec) Socket.connect(addr,timeout) not clear if IOException because of TCP timeout [v3]
Alan Bateman
alanb at openjdk.org
Fri Jun 13 14:38:41 UTC 2025
On Fri, 13 Jun 2025 14:14:25 GMT, Mark Sheppard <msheppar at openjdk.org> wrote:
> This is all that needs to be said. There is no need to state any typical values, but if you do then those values need to be factually correct, and for the currently supported platforms 60 seconds is not typical, it's 21, 75, and 128 seconds
The proposed wording in the current draft looks okay. It explains to the reader that establishing a TCP/IP connection is subject to an operating system timeout. It gives a sense of what that timeout might be, it's not hours or days, it's tens of seconds. I don't think we should attempt to list specific timeouts for specific operating system versions and configurations.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/25690#discussion_r2145237517
More information about the net-dev
mailing list