Integrated: 8287593: ShortResponseBody could be made more resilient to rogue connections

Ryan Ernst duke at openjdk.org
Mon Jul 4 16:13:44 UTC 2022


On Wed, 29 Jun 2022 19:26:21 GMT, Ryan Ernst <duke at openjdk.org> wrote:

> Since ReplyingServer binds to an open port on the system where tests
> run, it is possible some other program probes that port while the test
> is running. If the probe request does not have request params, the
> request is invalid and a test assertion fails. This commit replaces that
> assertion with returning a 400 response.

This pull request has now been integrated.

Changeset: 9ccae707
Author:    Ryan Ernst <ryan at iernst.net>
Committer: Chris Hegarty <chegar at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/9ccae7078e22c27a8f84152f005c628534c9af53
Stats:     45 lines in 1 file changed: 37 ins; 6 del; 2 mod

8287593: ShortResponseBody could be made more resilient to rogue connections

Reviewed-by: chegar, dfuchs

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

PR: https://git.openjdk.org/jdk/pull/9329


More information about the net-dev mailing list