RFR: 8349910: Implement JEP 517: HTTP/3 for the HTTP Client API [v5]
Daniel Fuchs
dfuchs at openjdk.org
Wed Jun 4 16:08:04 UTC 2025
On Fri, 16 May 2025 10:26:11 GMT, Daniel Fuchs <dfuchs at openjdk.org> wrote:
>> Daniel Fuchs has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains 422 commits:
>>
>> - merge latest changes from master branch
>> - Undo whitespace change
>> - Remove unnecessary import
>> - Merge remote-tracking branch 'origin/master' into http3
>> - Fix test license
>> - Remove leftover file (test was moved to parent directory)
>> - Remove unnecessary import
>> - Update throws clauses
>> - Merge remote-tracking branch 'origin/master' into http3
>> - 8354275: Add HTTP/3 tests to `EmptyAuthenticate`
>> - ... and 412 more: https://git.openjdk.org/jdk/compare/568dcc15...8c27f53c
>
> src/java.net.http/share/classes/jdk/internal/net/http/quic/QuicEndpoint.java line 737:
>
>> 735: // channel, and a single selector thread, so we can do
>> 736: // the reading directly in the selector thread and offload
>> 737: // the parsing (the readLoop) to the executor.
>
> This comment is outdated. We actually stop reading from the channel when the amount of data buffered exceeds a high watermark threshold.
Updated in latest commits (https://github.com/openjdk/jdk/pull/24751/commits/6ce42f44c52c5b6db54ccceb4f62259cb02992fb)
> src/java.net.http/share/classes/jdk/internal/net/http/quic/QuicEndpoint.java line 822:
>
>> 820: if (this.buffered.get() >= MAX_BUFFERED_HIGH) {
>> 821: pauseReading();
>> 822: readLoopScheduler.runOrSchedule(executor);
>
> This line should not be needed: we should already have kicked the read loop at line 797.
Updated in latest commits (https://github.com/openjdk/jdk/pull/24751/commits/6ce42f44c52c5b6db54ccceb4f62259cb02992fb)
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/24751#discussion_r2126958527
PR Review Comment: https://git.openjdk.org/jdk/pull/24751#discussion_r2126959414
More information about the security-dev
mailing list