RFR: 8328919: Add BodyHandlers / BodySubscribers methods to handle excessive server input [v2]

Chen Liang liach at openjdk.org
Tue Jan 14 13:18:43 UTC 2025


On Tue, 14 Jan 2025 09:24:12 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:
> 
>   Add missing `@since` tags

Also, since this changes API surface by introducing new public factories, you have to create a CSR writeup for archive.

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

PR Comment: https://git.openjdk.org/jdk/pull/23096#issuecomment-2589884974


More information about the net-dev mailing list