increase the connector's idle timeout to make sure the idle timeout does not fire spuriously. (#5281)
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
This commit is contained in:
parent
88a110ed0f
commit
a37ab389aa
|
@ -572,7 +572,10 @@ public class IdleTimeoutTest extends AbstractTest
|
|||
}
|
||||
}
|
||||
});
|
||||
connector.setIdleTimeout(2 * delay);
|
||||
// The timeout is going to be reset each time a DATA frame is fully consumed, hence
|
||||
// every 2 loops in the above servlet. So the IdleTimeout must be greater than (2 * delay)
|
||||
// to make sure it does not fire spuriously.
|
||||
connector.setIdleTimeout(3 * delay);
|
||||
|
||||
Session session = newClient(new Session.Listener.Adapter());
|
||||
MetaData.Request metaData = newRequest("POST", new HttpFields());
|
||||
|
|
Loading…
Reference in New Issue