Skip to content

Conversation

@sijanec
Copy link

@sijanec sijanec commented Jun 6, 2024

This patch modifies ListenAndServe and adds a second optional argument that allows to listen on a custom network. Network is a string, as specified by https://pkg.go.dev/net#Listen

This allows listening on a UNIX socket, as listening on a non-privileged TCP can be insecure.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant