java urlconnection doesnt throw sockettimeoutexception
listed in answer
ANSWER:
See the documentation for setReadTimeout:
Some non-standard implementation of this method ignores the specified timeout.
If you don’t think that’s the issue, set the timeout to a very low number like 1 and check. You should get a java.net.SocketTimeoutException exception.
by user845279 from http://stackoverflow.com/questions/10489852

New Comments