Skip to content

net.Listener() listens on all interfaces when no address is provided. #9

@jeffreydwalter

Description

@jeffreydwalter

Hey guys,
I don't use your project, but came across your commit here: ae2800d

Based on the comments in this commit, I'm lead to believe that the intent is to only listen on the loopback address(es) when only the port is specified.

If that is the intent, then that code is broken. If not, then ignore me. :)

Here's the relevant net.Listen() example from the golang docs: https://golang.org/pkg/net/#example_Listener

Happy trails!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions