[jboss-jira] [JBoss JIRA] Closed: (JBREM-754) Reset timeout on each use of HttpURLConnection
Ron Sigal (JIRA)
jira-events at lists.jboss.org
Sat Jun 23 01:10:52 EDT 2007
[ http://jira.jboss.com/jira/browse/JBREM-754?page=all ]
Ron Sigal closed JBREM-754.
---------------------------
Resolution: Done
The unit test is passing on cruisecontrol.
> Reset timeout on each use of HttpURLConnection
> ----------------------------------------------
>
> Key: JBREM-754
> URL: http://jira.jboss.com/jira/browse/JBREM-754
> Project: JBoss Remoting
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: 2.4.0.Beta1 (Pinto)
> Reporter: Ron Sigal
> Assigned To: Ron Sigal
> Fix For: 2.4.0.Beta1 (Pinto)
>
>
> Even though each call to org.jboss.remoting.transport.http.HTTPClientInvoker.invoke() creates a new HttpURLConnection, it seems that the HttpURLConnection implementation caches underlying connections. When an org.jboss.remoting.ConnectionValidator is running, it connects to the same server as ordinary HTTPClientInvokers used by the application, but it sets a timeout of 1000. If no timeout value is configured for application connections, then HTTPClientInvoker does not set a timeout on the HttpURLConnection, and a connection with a timeout of 1000 might get reused.
> If no timeout is configured, HTTPClientInvoker should explicitly set the HttpURLConnection connect and read timeouts to 0.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list