Commits


only memcpy into imsg->data if datalen is not zero Passing a NULL pointer to memcpy is UB no matter if len is 0 (commit by claudio@, backporting for gmid.)


update gitignore for site/


site: point out that OpenBSD' make is needed


misc tweaks + changelog.gmi


change how the site is built copy the kamid/site "framework" here too; in other words: don't maintain two copies of every page! \o/


remove unused function


s/whole/all


improve proxy error path properly release everything when during client_close if the request was managed by a proxy.


always mark requests as done when their code is != 20


set REQUEST_PROXY only when proxy_init is successful


fix comment


shuffle the code a bit to improve readability


fix and sync gg usage


note who requested what


bail out of client_read if we've already decide what to do libevent2 can still somehowe call client_read even in code paths that never enable reading from the evbuffer. Can't reproduce on the libevent in base on OpenBSD. It's a bit ugly, but it's a small workaround for something that otherwise *always* make gmid crash when linked against libevent2. (client_read works under the assumption that c->host != NULL, matched_proxy crashes otherwise.)