Skip to content

close: file descriptor used after calling close! #244

@talex5

Description

@talex5

In Eio 0.3 accept_fork always closes then socket when the function returns. However, the function is supposed to be allowed to close it itself first if it wants to. This results errors such as:

Error handling connection: Cancelled: Invalid_argument("close: file descriptor used after calling close!")

A work-around is to avoid manually closing the socket (there's no very good reason to continue handling a connection after closing it).

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions