On Tue, 13 Dec 2022 10:34:16 GMT, Daniel Jeliński <[email protected]> wrote:
> This patch attempts to address a rare test failure where read from a socket > succeeds immediately after sending the response. > > The existing `readRequest` method did not verify if it received the entire > request. The method `readOneRequest` (copied from other tests) makes sure > that we read the trailing double newline before proceeding. This pull request has now been integrated. Changeset: 3ae71872 Author: Daniel Jeliński <[email protected]> URL: https://git.openjdk.org/jdk/commit/3ae718725a72cc2758331e932130d846cfba64e4 Stats: 20 lines in 1 file changed: 13 ins; 0 del; 7 mod 8298498: sun/net/www/http/KeepAliveCache/B8291637.java fails with "Server exception terminating: java.net.SocketException: Socket closed" Reviewed-by: dfuchs, jpai ------------- PR: https://git.openjdk.org/jdk/pull/11647
