> 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 four additional commits since the last revision: - Fix JavaDoc typo - Apply review suggestion on if-else nesting - Use `AtomicLong` for the length counter - Check `capacity` in `limiting()` ------------- Changes: - all: https://git.openjdk.org/jdk/pull/23096/files - new: https://git.openjdk.org/jdk/pull/23096/files/a4fd1bab..1051e3e9 Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=23096&range=03 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=23096&range=02-03 Stats: 26 lines in 3 files changed: 14 ins; 2 del; 10 mod Patch: https://git.openjdk.org/jdk/pull/23096.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/23096/head:pull/23096 PR: https://git.openjdk.org/jdk/pull/23096