Commit Briefs


Omar Polo

unveil only ssh(1)


Omar Polo

fix parse_sshaddr error reporting

errno doesn't contain anything useful in this case


Omar Polo

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.


Omar Polo

don't die if accept fails


Omar Polo

plug memory leak in try_to_connect

it should call conn_free to cleanup the connection struct now.


Omar Polo

allow span_ssh to fail


Omar Polo

log before quitting



Omar Polo

properly initialize c->to


Omar Polo

log when the connection succeeds


Omar Polo

bump copyright year


Omar Polo

bind_socket early

so that if it fails the user is promptly notified. This requires us to make sure that fds 0-2 are opened, so steal the same trick slowcgi have.


Omar Polo

don't die for OOM

instead, drop the current connection (we can't do anything about it) and try to continue to work. OOM can be a temporary situation, and in every case it's not nice to terminate other in-flight connections. To do so, refactor the freeing of the connection into conn_free, which now also looks for the state of the timeout. In every case we reach conn_free the timeout is not pending, but it doesn't hurt to check for it anyway. Future changes may want to free early.