gotwebd: simplify handling of unix sockets
commit360794246d58ac20752da51536158584a51d1478
authorOmar Polo <op@omarpolo.com>
Thu, 16 May 2024 15:37:49 +0000 (16 15:37 +0000)
committerOmar Polo <op@omarpolo.com>
Thu, 16 May 2024 15:37:49 +0000 (16 15:37 +0000)
tree7768b28d21e2c791d80876e74b36c239c7a6d9d7
parenteb916dafa2967bc60a8996ea7cc0a23a661ed88e
gotwebd: simplify handling of unix sockets

 - don't assume an implicit "listen on socket" when another listen was
   specified in a server block

 - allow servers to share the sockets they're listening on

 - fix unix_socket_name; now it's actually used

 - remove `listen on socket off' and `unix_socket off' options that
   are now no longer useful

 - unify the internal handling of the sockets, i.e. don't consider
   unix socket special.

ok tracey@
gotwebd/config.c
gotwebd/gotwebd.conf.5
gotwebd/gotwebd.h
gotwebd/parse.y
gotwebd/sockets.c