HttpUrlConnection and no read-timeout
Robert DiFalco <[email protected]> Tue, 19 Jun 2007 09:48:53 -0700
| Newsgroups | gmane.comp.java.sun.rmi |
|---|---|
| Message-ID | <[email protected]> |
It appears in 1.4.2 that you cannot specify a read timeout for HttpUrlConnection. That means if my server restarts while a client is trying to download its codebase jars that they client could end up "hanging" indefinitely. Does anyone now a quick and dirty way (i.e. not moving to JERI) that I can either supplant HttpUrlConnection or specify a timeout so my clients do not have the possibility of hanging forever during jar downloading? TIA R. =========================================================================== To unsubscribe, send email to [email protected] and include in the body of the message "signoff RMI-USERS". For general help, send email to [email protected] and include in the body of the message "help". For a list of frequently asked RMI questions please refer to: http://java.sun.com/j2se/1.3/docs/guide/rmi/faq.html To view past RMI-USERS postings, please see: http://archives.java.sun.com/archives/rmi-users.html