Integrated: 8278398: jwebserver: Add test to confirm maximum request time

Julia Boes jboes at openjdk.java.net
Fri Jan 14 12:51:28 UTC 2022


On Wed, 12 Jan 2022 16:59:14 GMT, Julia Boes <jboes at openjdk.org> wrote:

> This new test confirms that the jwebserver does not wait indefinitely for a request to arrive, but instead closes the connection when the maximum request time is reached. To facilitate this, Exchange::run is amended to process cancelled keys in the case where the current thread is the dispatcher thread (which is the case for the jwebserver).
> 
> Testing: tier 1-3 all clear.

This pull request has now been integrated.

Changeset: 9f30ec17
Author:    Julia Boes <jboes at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/9f30ec174faae10484766308996cab136a779658
Stats:     220 lines in 2 files changed: 219 ins; 0 del; 1 mod

8278398: jwebserver: Add test to confirm maximum request time

Reviewed-by: dfuchs, michaelm

-------------

PR: https://git.openjdk.java.net/jdk/pull/7052


More information about the net-dev mailing list