Commits
- Commit:
e9f3a90fadf12ed91fd75810d2321941b4df8bbd
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
remove http client support from TODO list
- Commit:
70e0b03e0f6e711ea263718b3cd41ce5a56f7c99
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
fix missing error return in read_packed_object() on size_t overflow
- Commit:
fd3bb074b1599bb655945a9979ba082181d4006e
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
gotwebd: allow to change the user
ok stsp@
- Commit:
7a9e735b5a74ad7ea5765c877c77589159874b7d
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- 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:
fcc51b287a1b5969b9b0d5987ea7ff001bc8bf57
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
gotwebd: mention the listening socket path under FILES
ok stsp@
- Commit:
2382c6029fcaf1cfe733542c1779461f0b1251ff
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- 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:
61d4bd062ed92c7c334c663c16f86fd80d09edf7
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- 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:
e60184561282aa8cc9526ea2e80ca84266ec07ab
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- 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:
751c0a50f0df04c86eb1683ae8c653d086971ca5
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- 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:
c29b0f4c291d5ed73f7e1d388bc6d4d4809483a1
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- 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:
4131be84e8f3fca2cd1d5f7a36fe763f73f47656
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
got-fetch-http: be pedantic with the error checking
these functions are expected to return -1 on failure, be strict
about it.
- Commit:
c1ce79919bdc9d72d4eb38535e842c83d3e797b2
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
fix function name in error message (again)
- Commit:
228faf4bb0e11ed7b78392cd2ae65b016550c9b0
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- 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:
4caceeab0d973f8e053ed6e6c456fc2d4ebcc265
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
fix function name in error message
- Commit:
fccaf53e42a7146013f4abfcdb5d329b97198706
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
fix got-fetch-http build with PROFILE=1
- Commit:
51644947b0326b92c509dca613b79497e0c0f5dd
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
fix wrong errno check in bufio_close_sync()
ok thomas_adam, op@
- Commit:
d5ece9bf5fc64a3210e5b95f5421a523fbfac854
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
regress: replace userinfo(8) with the more common getent(1)
- Commit:
2fb0330a1e2f26fb885b417086a6177342b52e7a
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
regress: make server tests more robust against race hazard
Add a delay after starting the server background process to keep
server and client from racing against each other, which would lead
to failures when the client ran before the server.
ok op
- Commit:
df1f218b4d4f5968f54f38259288c5538a0860d2
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
log hostname and port when gotd notification helpers fail to connect
ok op@
- Commit:
62ef6d19d1ed55e9207162aceec859fc89d76cfd
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
gotd regress also needs p5-httpd-daemon
- Commit:
f6f52ab93ebf0ef4bdd1eb98c65a9ce78af53f0d
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
forgot to hook up the new tests added with fix for empty notifications
- Commit:
9539ae1b7a52273c7ea7155b89792c64be2ac234
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
fix Date header generated by got-notify-email
asctime_r() is not a source of valid date strings for email.
Borrow code from OpenSMTPD instead for this purpose.
Problem reported by naddy, who also found the smtpd code to use.
- Commit:
8b8e9d495501b7322133eb2a18782683cd532950
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
display abbreviated commit/tag IDs in email notification subject lines
This should make it somewhat easier to keep track of discussion threads
when someone replies to a commit notification to discuss the changes.
- Commit:
e93ed5cc1cbe6d2ec391971bb3599a63539851d0
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
fix empty notification messages with multiple gotd notification targets
When multiple notification targets are configured only the first target
received notification message content. The subsequent targets would read
EOF when trying to read the content. Fix this issue and add regression
test coverage for it, exercising existing test code with a gotd.conf file
which contains two notification targets.
- Commit:
7ea1d42ff866342a8d20244d367a6f639a98d37a
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
mark gotd http-notifications todo item as done