Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enforce discard limits on readers #790

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Commits on Oct 25, 2024

  1. Enforce discard limits on readers

    This enforces limits on discard to avoid unbounded reads. Where
    resources were already exhausted no further reads are done and discards
    have been removed. These discards were an optimization to reuse
    connections. When a stream is partially read all subsequent reads will
    now return EOF errors to avoid reading in a corrupted state.
    
    Signed-off-by: Edward McFarlane <[email protected]>
    emcfarlane committed Oct 25, 2024
    Configuration menu
    Copy the full SHA
    a933acd View commit details
    Browse the repository at this point in the history