Skip to content

Improve linger loop #1672

Description

@essen

erlang/otp#9529 (comment)

We should set {linger, {true, 0}} before the loop to ensure that the socket will get closed when the process ends (either at the end of the loop, or when killed).

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