Commits


typo


switch to the more usual log.c


rename log.[ch] to logger.[ch]


provide a more usual fatal fatal usually appends the error string. Add 'fatalx' that doesn't. Fix callers and move the prototypes to log.h


always cast is*() arguments to unsigned char


make the various strings in the config fixed-length will help in future restructuring to have fixed-size objects.


copyright years


const-ify some tables matches found with % grep -R '=[ ]*{' . | fgrep -v const


allow using a custom hostname for SNI during proxying add a `sni' option for the `proxy' block: the given name is used instead of the one extracted by the `relay-to' rule.


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


set REQUEST_PROXY only when proxy_init is successful


proxy: allow multiple proxy blocks, matching options and validations as a side effect the order of the content of a server block is relaxed: options, location or proxy blocks can be put in any order.


allow to disable TLS when proxying requests


add `protocols' option to `proxy' rule


add `verifyname' option for `proxy' rule