Commit Briefs
CHANGES for 0.120 (tags/0.120)
add gotwebd config parameters for hiding repositories
Add gotwebd.conf parameters which allow repositories to be hidden from regular gotwebd output. This builds on the per-repository configuration parameter syntax added for the authentication feature. ok op@
use GOTWEBD_LOGIN_TIMEOUT for login timeout in gotwebd/login.c
Use GOTWEBD_LOGIN_TIMEOUT (defined as 300) for the login timeout in gotwebd(8), the same which is used in gotsh(1). Patch by Martin Vahlensieck
disable gotwebd authentication if it is not enabled in gotwebd.conf
gotwebd has always worked out of the box without requiring a configuration file to run, until the authentication feature was added and enabled by default. Enabling authentication by default means that gotwebd is useless out of the box unless a gotwebd.conf file exists which sets access rules or disables authentication.
fix gotsysd.conf "listen on" statement failing on non-existent sockets
Reported by Mischa Peters
gotd_accept_paused() is redundant, remove it
The gotd_accept() handler already handles the EV_TIMEOUT case. We do not need a separate function for this case.
prevent gotd looping on unhandled errors raised by accept()
gotd would somehow loop on ENOTSOCK in a case observed by "noodle" on IRC. For now, exit the event loop if an unknown accept error occurs.
gotwebd: rename LOGIN token to separate namespace
There's differences in how yacc(1) works on BSD vs non-BSD systems. As such, the generated code can often clash with tokens which are defined elsewhere. In this case, LOGIN from gotwebd clashes with LOGIN defined in gotwebd.h Simple solution here is to rename the LOGIN token in gotwebd to be GOTWEBD_LOGIN OK @stsp, @op2
make the sockets used for gotwebd IPC use non-blocking I/O as intended
Hopefully fixes a deadlock I observed where the sockets and fcgi processes were stuck in sendmsg(2) trying to send messages to each other.
