Skip to content

http listen method is possible to be called twice with no error #4646

Closed
@ifraixedes

Description

@ifraixedes

I've realised that if I create an http server and I call listen on the same port and hostname, several times, no error is reported on error event and the listen callback is called each time.

I've been surprised in finding this behaviour and I'm not sure if this is the expected one after I've tried to found this case in the docs; so I've opened this issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    docIssues and PRs related to the documentations.httpIssues or PRs related to the http subsystem.questionIssues that look for answers.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions