Commits


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.)


tweak comment


tweak a sentence


some Pa -> Ar; while here drop two `The' from the start of the sentence


document `require client ca' for proxies


add missing prototype


add `require client ca' for proxy blocks refactor the code that calls validate_against_ca into an helper function to reuse it in both apply_require_ca and (optionally) in apply_reverse_proxy.


ignore .d too