The issue hasd been observed when testing with fastdebug builds. The test was not configuring the HTTP/3 request with HTTP_3_URI_ONLY, although it uses an HTTP/3 only server. As a result, the client can attempt to fallback to TCP after a reasonable (and short) timeout if the QUIC handshake is not fast enough. However since the server is HTTP/3 only there's no TCP server to fallback to.
Configuring the HTTP/3 request with HTTP_3_URI_ONLY ensures that there's no TCP fallback, and that the HTTP/3 connection attempt will make use of the full default QUIC timeout. ------------- Commit messages: - 8379162: AggregateRequestBodyTest.java intermittent fails "Connection closed by client peer: APPLICATION_ERROR" Changes: https://git.openjdk.org/jdk/pull/30051/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=30051&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8379162 Stats: 26 lines in 1 file changed: 15 ins; 1 del; 10 mod Patch: https://git.openjdk.org/jdk/pull/30051.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/30051/head:pull/30051 PR: https://git.openjdk.org/jdk/pull/30051
