Commit Briefs
don't match host if connecting from the wrong socket
limit how one given virtual host can be reached based on its `listen on' lists
better fd rampage avoidance
flush imsg right in config_send_file()
add missing include of ../config.h in regress/*.c
otherwise we get a nice 'no previous prototype' due to -Wmissing-prototypes.
macos' clang is retarded
thinks rsa and ecdsa may be used un-initialized... if we enter the branch with fatalx(). sigh
don't quote $5 when calling pkg-config
otherwise we fail the openssl test 'libcrypto libssl'
use REGRESS_HOST to specify the host to listen to; use in CI
some CI envs don't like `listen on localhost' but tolerate INADDR_ANY or IN6ADDR_ANY_INIT.
implement `listen on'
Listening by default on all the addresses is so bad I don't know why I haven't changed this before. Anyway. Add a `listen on $hostname port $port' syntax to the config file and deprecate the old "port" and "ipv6" global setting. Still try to honour them when no "listen on" directive is used for backward compatibily, but this will go away in the next next version hopefully. At the moment the `listen on' in server context don't filter the host, i.e. one can still reach a host from a address not specified in the corresponding `liste on', this will be added later.