Commit Briefs

6e596ed0f3 Thomas Adam

fix dup(2) error checking in got_gotweb_openfile()



2f26d3340d Thomas Adam

get rid of (null) on the index page. ok stsp



30b23f5464 Thomas Adam

mark check_refcount as static

needed because of -Wmissig-prototypes; ok stsp@




b6b86fd1b9 Thomas Adam

remove trailing whitespace; patch by Josiah Frentsos


3f0158b49d Thomas Adam

gotwebd: use SCRIPT_NAME to derive URLs

This makes gotwebd use SCRIPT_NAME instead of the DOCUMENT_ROOT fastcgi param to generate the links to the assets and changes some links so every page is consistently linked with a relative URL. It allows to drop the `root "/"' in the location for fastcgi and, as a bonus, also makes possible to run gotwebd on non "/" paths. ok stsp@


b73ef4cf98 Thomas Adam

gotwebd: garbage collect %token FCGI_SOCKET

ok stsp@


e43172795b Thomas Adam

remove fcgi_socket keyword from gotwebd.conf; "listen on" now implies it

ok op@


4ad4d490cb Thomas Adam

got: fix typo in argc check when diffing two blobs

We already have two arguments when diffing two blobs, so check for more than two like we do when diffing two objects to check for invalid path args. Includes new regress test by op for diffing two blobs. ok stsp@ and ok plus regress test from op@


3387ec827e Thomas Adam

tog: fix typo in diff nlines > 0 check

We want to check if *nlines is greater than zero here. ok op@ and stsp@




0176d7a53a Thomas Adam

Xr httpd manual pages


a568bf724c Thomas Adam

add missing whitespace; spotted by tracey


56c96effe1 Thomas Adam

use Xo/Xc in the man pages

Patch by Josiah Frentsos; ok kn@



aa03d9a2ee Thomas Adam

gotwebd.conf should Xr gotwebd, not gotweb


55331ef5e3 Thomas Adam

initial pass over gotwebd docs

tracey is fine with gotwebd.8 but gotweb.conf.5 still needs some work


e4c7e0b01e Thomas Adam

allow multiple "listen on" statements per server in gotwebd.conf

ok tracey


77fb808d38 Thomas Adam

change gotwebd.conf fcgi socket syntax to "listen on 'foo' port 'bar'"

ok op@


46aeda9a8b Thomas Adam

gotwebd: fix NULL deref on ENOMEM in gotweb_process_request

ok tracey@


df610f4726 Thomas Adam

gotwebd: fix memory leak introduced in d927f8c

ok tracey@