Skip to content

Fd leak in handle_files #978

@mseri

Description

@mseri

There are scenarios if a client leaves before consuming the full response,
we might have a reference to a stream that doesn't get drained.

Not draining or closing the stream can lead to issues if its holding a resource like
a file handle as those resources will never be closed, leading to a leak.

Reported by Stéphane Glondu
Fix by samhot and anuragsoni in #977

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions