HTTP Jar Download Read Timeout

For some reason I've been having a hard time finding the setting which controls the read timeout for JAR downloads. At the moment it looks like it will never timeout such that if I am about to download a jar and the server goes down, the read will never timeout.TIA
[280 byte] By [robert_difalcoa] at [2007-11-27 8:04:09]
# 1
It has nothing to do with whether you're downloading a JAR or something else, it depends only on the protocol. If you're using HTTP there are connect and read timeout settings in HttpURLConnection.
ejpa at 2007-7-12 19:46:24 > top of Java-index,Core,Core APIs...
# 2

Yeah, jar downloading will use URLConnection and HTTP by default. What is not clear to me is if you can set the read timeout value in 1.4.2 and if my presumption is correct that if one does not set a read timeout value that a client could hang on a read indefinitely. I don't have the source to any concrete subclass of HttpUrlConnection that has a settable read timeout value.

robert_difalcoa at 2007-7-12 19:46:24 > top of Java-index,Core,Core APIs...
# 3
Yes it can hang indefinitely. There is an HTTP read timeout in 1.5, not in 1.4 I believe.
ejpa at 2007-7-12 19:46:24 > top of Java-index,Core,Core APIs...