Skip to content

Conversation

@Siguza
Copy link

@Siguza Siguza commented Oct 18, 2024

This PR implements a -socket option to listen to a unix socket instead of a TCP address.

The logic in listenAndServe looks a bit awkward now, and I left the addr argument to http.Server in unconditionally because I think this may be used for something and so it may be useful to be overridable on the command line independently even when using unix sockets, but I'm not too familiar with the Go ecosystem, so I don't know for sure.

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