Skip to content

Commit

Permalink
Fix #10229 EE10 Idle Timeout
Browse files Browse the repository at this point in the history
Possible fix
  • Loading branch information
gregw committed Aug 4, 2023
1 parent c506502 commit fe1aabc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -735,9 +735,7 @@ public boolean onIdleTimeout(TimeoutException timeout)
{
if (LOG.isDebugEnabled())
LOG.debug("onIdleTimeout {}", getStatusStringLocked(), timeout);
// TODO this is almost always returning false?!? what about read/write timeouts???
// return _state == State.IDLE;
return true;
return _state == State.IDLE;
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws Se
{
try
{
Thread.sleep(2000);
Thread.sleep(1000);
}
catch (InterruptedException e)
{
Expand Down

0 comments on commit fe1aabc

Please sign in to comment.