> Fix the test so that it exercises the max request time again.
> 
> The test is supposed to check if the server closes the connection when it 
> receives some bytes from the client, but the bytes do not form a complete 
> request before the timeout elapses. Until recently, the server-side request 
> parser was looking for a CRLF sequence before checking if the received bytes 
> form a request, and the TLS handshake was a good enough approximation of an 
> incomplete HTTP request. 
> [JDK-8373677](https://bugs.openjdk.org/browse/JDK-8373677) modified the 
> parser to reject TLS early.
> 
> This PR modifies the test to start sending a legal HTTP request, but stop 
> sending before the final CRLF sequence is sent,
> 
> The test continues to pass.
> 
> ---------
> - [X] I confirm that I make this contribution in accordance with the [OpenJDK 
> Interim AI Policy](https://openjdk.org/legal/ai).

Daniel Jeliński has updated the pull request incrementally with one additional 
commit since the last revision:

  Add a comment to explain how the incomplete request is sent

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/31983/files
  - new: https://git.openjdk.org/jdk/pull/31983/files/abca3839..46f7f8eb

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=31983&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=31983&range=00-01

  Stats: 1 line in 1 file changed: 1 ins; 0 del; 0 mod
  Patch: https://git.openjdk.org/jdk/pull/31983.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/31983/head:pull/31983

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

Reply via email to