Commits
- Commit:
9bc2ee804d400559347917989bde415da69cbc20
- From:
- Omar Polo <op@omarpolo.com>
- Date:
gotwebd: allow to change the user
ok stsp@
- Commit:
1220d7ea84811c79f71a7f24917d77cb2f10b02a
- From:
- Omar Polo <op@omarpolo.com>
- Date:
got{,web}d: unify log.c
gotd and gotwebd are using almost the same log.c file, so unify.
This only slightly changes gotwebd logs to include the process name,
like gotd.
ok stsp@
- Commit:
c6458e88f5a9085ec9206a60b93a713138b9b2fa
- From:
- Omar Polo <op@omarpolo.com>
- Date:
gotwebd: mention the listening socket path under FILES
ok stsp@
- Commit:
c16cda05743b8a017d150757f0b9da0bc5bffa83
- From:
- Omar Polo <op@omarpolo.com>
- Date:
gotwebd: remove unix_socket_name
Now that `listen' is a top-level, `unix_socket_name' is useless.
The default socket remains /var/www/run/gotweb.sock, to listen on
an alternate socket now `listen on socket "/some/other/sock" can
be used.
part of a larger diff that's ok stsp@
- Commit:
d68a7b14eb6995f6fc4c877ea24276f6b0174f85
- From:
- Omar Polo <op@omarpolo.com>
- Date:
gotwebd: make `listen' a top-level statement
gotwebd only uses the server name (i.e. the Host HTTP header) to
match the server blocks. Since gotwebd by design sits behind an
http server which is expected to filter virtual hosts, there's
little point in having `listen' per-server.
part of a larger diff that's ok stsp@
- Commit:
0f88252c795396951ad9bcf40c534b5852dc5e28
- From:
- Omar Polo <op@omarpolo.com>
- Date:
adjust gotwebd.conf(5) after recent change
it's no longer required for the host:port tuple to be used only by one
server.
- Commit:
360794246d58ac20752da51536158584a51d1478
- From:
- Omar Polo <op@omarpolo.com>
- Date:
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@
- Commit:
eb916dafa2967bc60a8996ea7cc0a23a661ed88e
- From:
- Omar Polo <op@omarpolo.com>
- Date:
gotwebd: plug leak in get_addrs() error path
h is free'd by add_addr in case of error, but we still leak the
getaddrinfo result. while here make the check strictier: addr_addr()
fails with -1.
- Commit:
a3844d7a3c9a386d7bc73fb0152fa714533a7e91
- From:
- Omar Polo <op@omarpolo.com>
- Date:
got-fetch-http: be pedantic with the error checking
these functions are expected to return -1 on failure, be strict
about it.
- Commit:
a46b549764762c6d1ef465471d38ed2d5e152543
- From:
- Omar Polo <op@omarpolo.com>
- Date:
fix function name in error message (again)
- Commit:
454711903eeb8fe10dcb57e44a50b268eb3e6463
- From:
- Omar Polo <op@omarpolo.com>
- Date:
bufio: crank BIO_CHUNK up to 64k
forgot it set to a low value when testing the resizing, the left
way too low. prodded by stsp.
ok stsp
- Commit:
45c5bd12280f38df8ce2cf82d06beeb15ed80aca
- From:
- Omar Polo <op@omarpolo.com>
- Date:
fix function name in error message
- Commit:
eb7e80a7111220df61c48a0bb0e87f342baf442d
- From:
- Omar Polo <op@omarpolo.com>
- Date:
fix got-fetch-http build with PROFILE=1
- Commit:
0bd5fb752a05f0d096e2d9d0d11e1b02b4804849
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix wrong errno check in bufio_close_sync()
ok thomas_adam, op@
- Commit:
53c54f2220fc0893aa81f79860a50abc0940600c
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Date:
regress: replace userinfo(8) with the more common getent(1)