Commit Briefs

867814497f Stefan Sperling

CHANGES for 0.111 (tags/0.111)



a7afe5ebe9 Stefan Sperling

ensure that gotsysctl gets installed into /usr/local/sbin


a221681b19 Stefan Sperling

sync dist-file list


5b4cce9419 Stefan Sperling

switch to UID 600 for _gotsysd to match the ports tree


7b59ba7244 Omar Polo

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@


8d9df98747 Kyle Ackerman

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@




c843d009bb Stefan Sperling

free gotweb.c iev_server on shutdown




8e4e8ad9d5 Stefan Sperling

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.




abc4f9050b Stefan Sperling

log fcgi requests which have timed out


4523699f0d Stefan Sperling

expose error status of gotweb_process_request() to the caller



13806e15ce Stefan Sperling

fix previous commit (build breakage)


fb06b12f1e Stefan Sperling

do not send fcgi end record trailer to broken connections


942e7b1851 Stefan Sperling

fix error handling in fcgi_forward_response()




19a4446fe1 Stefan Sperling

stop using EV_PERSIST for fcgi_request and fix error handling


ca5816c430 Stefan Sperling

fix format string specifier for c->request_id