Closed Kritzefitz closed 7 years ago
Looks great, thanks! Only minor niggle is that --socket-perms
is not documented. Maybe a quick usage example (of the new socket options) as well? But anyway, looks good to merge.
-Max
My last commit adds both the missing documentation and a usage example.
Thanks again!
Let's try this once again.
These changes enable the possibility to listen on and relay to UNIX sockets instead of INET. This is controlled via the
--socket
and--relaysocket
options. When they are specified their corresponding--(relay-)host
and--(relay-)port
counterparts are ignored.It is also possible to specify different permissions for the listening socket via the
--socket-perms
option. Originally I intended to add options for controlling the owning user and group of the created socket, butNet::Server
doesn't seem to support this and does a good job at preventing this from being done in a hook.Note: The unix-ports branch doesn't contain the commits from my previous merge request, so you may need to pull with
--force
.