RFR: 8328919: Add BodyHandlers / BodySubscribers methods to handle excessive server input [v8]
Jaikiran Pai
jpai at openjdk.org
Mon Jan 20 08:23:39 UTC 2025
On Thu, 16 Jan 2025 09:58:39 GMT, Volkan Yazıcı <duke at openjdk.org> wrote:
>> Adds `limiting()` factory methods to `HttpResponse.Body{Handlers,Subscribers}` to handle excessive server input in `HttpClient`. I would appreciate your input whether `discardExcess` should be kept or dropped. I plan to file a CSR once there is an agreement on the PR.
>
> Volkan Yazıcı has updated the pull request incrementally with one additional commit since the last revision:
>
> Fix typo
>
> Co-authored-by: Michael McMahon <70538289+Michael-Mc-Mahon at users.noreply.github.com>
src/java.net.http/share/classes/java/net/http/HttpResponse.java line 752:
> 750: bufferSize);
> 751: }
> 752:
The copyright year on this file will need an update.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/23096#discussion_r1921971054
More information about the net-dev
mailing list