Fix response body overread in `HttpURLConnection`.

---------
- [X] I confirm that I make this contribution in accordance with the [OpenJDK 
Interim AI Policy](https://openjdk.org/legal/ai).

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

Commit messages:
 - Add chunked content test scenario
 - Emphasise "overread"
 - Add SSL variant to the test
 - Add `ResponseStreamFixed`
 - Fix `MeteredStream`

Changes: https://git.openjdk.org/jdk/pull/33846/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=33846&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8393415
  Stats: 336 lines in 2 files changed: 287 ins; 29 del; 20 mod
  Patch: https://git.openjdk.org/jdk/pull/33846.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/33846/head:pull/33846

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

Reply via email to