On Mon, 7 Sep 2026 14:42:56 GMT, Kevin Walls <[email protected]> wrote:
> An Attach API request of zero size will cause > RequestReader::read_request_data to read a byte before its buffer. > > Better to not call read_request_data if we know there is zero to read. > > > --------- > - [x] I confirm that I make this contribution in accordance with the [OpenJDK > Interim AI Policy](https://openjdk.org/legal/ai). Right on both counts. `read_uint` already logs every failure path, and the old text blamed a negative size when the cause was usually EOF or a bad character. ------------- Marked as reviewed by aivy (Author). PR Review: https://git.openjdk.org/jdk/pull/32738#pullrequestreview-5137162655
