Skip to content

File descriptor leak when Lwt_unix.shutdown fails #376

Description

@francoisthire

It may be possible that when the Dream server receives a connection and tries to shut it down, a file descriptor leak may occur. This happens if the function Lwt_unix.shutdown raises an exception (apparently this happens if the remote peer was already disconnected).

The culprit does not sound to be in dream directly but in dependencies used by dream. I create this issue for tracking this issue:

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