proxy server timeout on continuation checks for 0 client and exchange timeout and set continuation as 'infinite'
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@3405 7e9141cc-0065-0410-87d8-b60c137991c4
This commit is contained in:
parent
ce943340dd
commit
418ebe8268
|
@ -608,8 +608,15 @@ public class ProxyServlet implements Servlet
|
||||||
|
|
||||||
// continuation fudge factor of 1000, underlying components
|
// continuation fudge factor of 1000, underlying components
|
||||||
// should fail/expire first
|
// should fail/expire first
|
||||||
continuation.setTimeout(ctimeout + 1000);
|
if ( ctimeout == 0 )
|
||||||
|
{
|
||||||
|
continuation.setTimeout(0); // ideally never times out
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
continuation.setTimeout(ctimeout + 1000);
|
||||||
|
}
|
||||||
|
|
||||||
customizeContinuation(continuation);
|
customizeContinuation(continuation);
|
||||||
|
|
||||||
continuation.suspend(response);
|
continuation.suspend(response);
|
||||||
|
|
Loading…
Reference in New Issue