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

Chris Hegarty chegar at openjdk.org
Wed Jun 29 21:50:41 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.

LGTM

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

Marked as reviewed by chegar (Reviewer).

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


More information about the net-dev mailing list