]
Ron Sigal updated JBREM-754:
----------------------------
Fix Version/s: 2.2.2.GA
Affects Version/s: 2.2.0.SP4
2.2.1.GA
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), 2.2.0.SP4, 2.2.1.GA
Reporter: Ron Sigal
Assigned To: Ron Sigal
Fix For: 2.4.0.Beta1 (Pinto), 2.2.2.GA
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: