Not sure if it is a bug of (Http)URLConnection, but it hang sometimes for some URLs while calling any functions to get information from connection (includes getResponseCode, getInputStream, getContent, getContentLength, getHeaderField blabla..) after connection has been built (even I have set the read timeout and connect time out).
the functions openConnection() and connect() are ok, curious about that problem.
anybody has the same problem or similar problem with URLConnection?