Commits


implement socket splicing on OpenBSD socket splicing allows to do zero-copy data transfers between sockets. This adds a specific implementation for OpenBSD using the setsockopt SO_SPLICE and a default implementation with libevent (that is the old code doing the copy in userland.) It's possible to do the same on linux with splice(2), not implementd though.


forgot tests.c in SOURCES


update outdated sentence


delete needless compat #ifdef


allow to customize the path to ssh(1) via configure script


require PKG_CONFIG=false to disable, not the empty string this way we can run the auto-configuration after the args handling and provide a better output.


tweak the readme mention new instructions for building and other minor tweaks.


switch to (customized) kristaps' oconfigure


CHANGES for 0.3


xr ssh


unveil only ssh(1)


fix parse_sshaddr error reporting errno doesn't contain anything useful in this case


move accounting after the connection was accepted otherwise we may end up in a weird state where we're counting connections that we don't have or have cleared a timeout without a reason.


don't die if accept fails


plug memory leak in try_to_connect it should call conn_free to cleanup the connection struct now.