Integrated: 8328919: Add BodyHandlers / BodySubscribers methods to handle excessive server input

Volkan Yazici vyazici at openjdk.org
Tue Jan 28 10:26:10 UTC 2025


On Tue, 14 Jan 2025 08:51:55 GMT, Volkan Yazici <vyazici 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.

This pull request has now been integrated.

Changeset: 558255ae
Author:    Volkan Yazici <vyazici at openjdk.org>
Committer: Jaikiran Pai <jpai at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/558255ae7029ea1091ec5bb05d2d48e9f0c58f72
Stats:     620 lines in 3 files changed: 619 ins; 0 del; 1 mod

8328919: Add BodyHandlers / BodySubscribers methods to handle excessive server input

Reviewed-by: jpai

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

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


More information about the net-dev mailing list