mirror of
https://github.com/jetty/jetty.project.git
synced 2025-02-28 10:59:19 +00:00
change the proxy continuation timeout check from connectTimeout to timeout as that is what is set in the servlet init params
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@3404 7e9141cc-0065-0410-87d8-b60c137991c4
This commit is contained in:
parent
f95e1bddbe
commit
ce943340dd
@ -604,7 +604,7 @@ public class ProxyServlet implements Servlet
|
||||
* we need to set the timeout on the continuation to take into
|
||||
* account the timeout of the HttpClient and the HttpExchange
|
||||
*/
|
||||
long ctimeout = (_client.getConnectTimeout() > exchange.getTimeout()) ? _client.getConnectTimeout() : exchange.getTimeout();
|
||||
long ctimeout = (_client.getTimeout() > exchange.getTimeout()) ? _client.getTimeout() : exchange.getTimeout();
|
||||
|
||||
// continuation fudge factor of 1000, underlying components
|
||||
// should fail/expire first
|
||||
|
Loading…
x
Reference in New Issue
Block a user