It would be highly useful if the newly introduced http.defaultSocketTimeout property in HttpClient applied to connect as well as read, which is now possible using the new Socket.connect method. Many of the long "hang" cases that we see are in the connect rather in the subsequent I/O.
- relates to
-
JDK-4389976 can't unblock read() of InputStream from URL connection
-
- Resolved
-