Commit Briefs
typo
* mime.c (ptable): colorize text/x-patch
tilde-heuristics for titles
use `~username' as tab title if the page doesn't have any headings
add compat for explicit_bzero
Looking at the build failure for the nix package on darwin I noticed that explicit_bzero is used by recallocarray but not included in the compat layer...
wrap unfreeze in ifdef
instead of defining macros in compat.h. It's clearer that it's only for libevent2 this way
unfrozen by default
it seems that we can "melt" :P the evbuffer from the start to avoid the unfreeze/freeze dance
fix bufferevent tls I/O on libevent2
on libevent2 we need to wrap evbuffer_add with evbuffer_freeze/evbuffer_unfreeze. Not sure exactly why, probably because we're doing some evbuffer_enable/disable/enable-again. Retain compatibility with the custom libevent1 in base on OpenBSD.
fix off-by-one
Thanks to the fact that we're using a bigger buffer in the net process, and thanks to the way otto@' malloc works, it was easy to detect this off-by-one in a large page (RFC3089 in particular).