Commit Briefs

d60e4a38ff Thomas Adam

portable: release 0.111 (tags/0.111)


324c1739af Thomas Adam

bump version number


a7d040e2e3 Thomas Adam

CHANGES for 0.111




c4c44f99bf Thomas Adam

sync dist-file list


b5d530d30b Thomas Adam

switch to UID 600 for _gotsysd to match the ports tree


ff6706ad7d Thomas Adam

remove a duplicate imsgbuf_clear() call


0402e48716 Thomas Adam

remove another gotsysd todo item that is done




9a64f34b64 Thomas Adam

In parse_ref_file, release lock when fstat fails

It's released in case of other errors. This seems to be an oversight. ok stsp@


66c889b395 Thomas Adam

Explicitly test S_ISREG in parse_ref_file

parse_ref_file previously detected directories in the refs directory by trying to read and checking for EISDIR. This doesn't work on NetBSD, and the S_ISREG should exclude other kinds of non-regular files. ok stsp@


b46517d07b Thomas Adam

portable: add a release script

This script automates the creation of the dist tarball, including verifying the tarball by unpacking and compiling it. Note that, the CHANGELOG should have been filled out already prior to running this script, so that it's included in the tarball; but that commit will need amending with the updated changes this script creates. Also assumes ed(1) is installed which is slightly more portable (and available) across different *nix systems, unlike sed(1)'s -i flag.


91c1648f82 Thomas Adam

portable: gotwebd: handle sha{1,2}.h portably


b6ca2f6f51 Thomas Adam

portable: handle SOCK_CLOEXEC portably


e7391431b9 Thomas Adam

portable: fixup after merge

Fix the recent gotwebd changes to use common libexec helpers.


e567fc48e2 Thomas Adam

got-fetch-http: improve handling of HTTP chunked responses

Use a cursor inside the buffer to parse the reply and handle the chunking delimiters instead of memmove()'ing around memory all the time. Spotted after a report from Colin Percival on IRC (thank you!) about got-fetch-http hogging the CPU while cloning the FreeBSD src.git repository. While here also simplify the chunked/non-chunked distinction and teach http_read() how to directly copy the data to a FILE. tested also by Colin, ok stsp@


ac0e86aa6c Thomas Adam

Plug some memory leaks in got-{send,fetch}-pack

my_capabilities was leaked in both got-send-pack and got-fetch-pack and needed freeing it in both. ok op@




99c8e404c0 Thomas Adam

free gotweb.c iev_server on shutdown




454f533a21 Thomas Adam

reduce the send_response() timeout

For some reason this timeout was blocking long enough to make other waiting client connections time out. Reduce the amount of retries.