Name: krC82822 Date: 04/20/2001
java version "1.3.0"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0-C)
Java HotSpot(TM) Client VM (build 1.3.0-C, mixed mode)
It would be useful if FtpClient had a facility to set the SO_TIMEOUT, so e.g.
if a data connection is not received after a "PORT" command, it will not wait
for ever. This would make it easier to write robust code built around FTP.
This would need to be done in 3 places: OpenServer(host,port) for the
serverSocket, openDataConnection for the portSocket and openDataConnection for
the dataSocket.
(Review ID: 121112)
======================================================================
- duplicates
-
JDK-4283433 URLConnect's InputStream read blocking forever when network borken
-
- Resolved
-