Commit Briefs

1999985f9a Tracey Emery

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



98275f2eef Omar Polo

mark check_refcount as static

needed because of -Wmissig-prototypes; ok stsp@




5e91dae4dd Stefan Sperling

remove trailing whitespace; patch by Josiah Frentsos


95a4a5a1e8 Omar Polo

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@


b1328b3e37 Omar Polo

gotwebd: garbage collect %token FCGI_SOCKET

ok stsp@


6c8aa58fb8 Stefan Sperling

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

ok op@


360f3aea91 Mark Jamsek

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@


2d61e38170 Mark Jamsek

tog: fix typo in diff nlines > 0 check

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



f21aef012e Stefan Sperling

hint at SNI support in gotwebd.conf.5; suggested by tracey


e0e2a8619d Stefan Sperling

Xr httpd manual pages


7e047b0e30 Stefan Sperling

add missing whitespace; spotted by tracey


5fc4f020b7 Omar Polo

use Xo/Xc in the man pages

Patch by Josiah Frentsos; ok kn@


0dd809988f Stefan Sperling

document gotwebd's server concept better; requested by tracey


d69013de25 Stefan Sperling

gotwebd.conf should Xr gotwebd, not gotweb


59975c69ca Stefan Sperling

initial pass over gotwebd docs

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


67d8de2a7e Stefan Sperling

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

ok tracey


17132eaa7c Stefan Sperling

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

ok op@


f0680473a7 Omar Polo

gotwebd: fix NULL deref on ENOMEM in gotweb_process_request

ok tracey@


b7efc9b3eb Omar Polo

gotwebd: fix memory leak introduced in d927f8c

ok tracey@


4083147108 Josh Rickmar

don't create signed tag objects with trailing NUL

Although Git itself did not care, the superfluous NUL at the end of the tag object was breaking GitHub's SSH signature detection. ok stsp@


4d648b92ac Omar Polo

gotwebd: add CSP policy

ok tracey@