Skip to content

FileBufferingReadStream _maxRentedBufferSize is used as an exclusive bound #9838

Closed
@NinoFloris

Description

@NinoFloris

FileBufferingReadStream _maxRentedBufferSize is checked as an exclusive bound staying just below 1MB.

We currently carry around our own constant that computes 1024 * 1024 -1 just to stay under that slightly unnatural max buffer rent size.

In the interest of usability it should probably just respect any size up to and including 1MB.

Metadata

Metadata

Assignees

No one assigned

    Labels

    DoneThis issue has been fixedarea-networkingIncludes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractionsfeature-http-abstractionshelp wantedUp for grabs. We would accept a PR to help resolve this issue

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions