Commits
- Commit:
4844aeaffb183685ca8a19f390f5468707fd038b
- From:
- Omar Polo <op@omarpolo.com>
- Date:
unveil only ssh(1)
- Commit:
039c0887cbf563243da7a5bb88a75564c2edbaf7
- From:
- Omar Polo <op@omarpolo.com>
- Date:
fix parse_sshaddr error reporting
errno doesn't contain anything useful in this case
- Commit:
f56227b6e7b21c76f910ad384ee793c08f20ed54
- From:
- Omar Polo <op@omarpolo.com>
- Date:
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.
- Commit:
0828da2ca72a11090a29c8f94930781558e611c3
- From:
- Omar Polo <op@omarpolo.com>
- Date:
don't die if accept fails
- Commit:
ab4b80221c5e35c28fb9f16512fd161aa127db2a
- From:
- Omar Polo <op@omarpolo.com>
- Date:
plug memory leak in try_to_connect
it should call conn_free to cleanup the connection struct now.
- Commit:
98c3d8979f42c71c2eb00894d54d1618a2340b9f
- From:
- Omar Polo <op@omarpolo.com>
- Date:
allow span_ssh to fail
- Commit:
803370a75caf49d95a78d7d706c5d2e0712c5190
- From:
- Omar Polo <op@omarpolo.com>
- Date:
log before quitting
- Commit:
8a8fe09b01f7f0f19d29af43814669bb4caf3cff
- From:
- Omar Polo <op@omarpolo.com>
- Date:
rename parse_tflag -> parse_sshaddr for clarity
- Commit:
8ae8b89ff70052ffee2616268a4d6732124ccd3c
- From:
- Omar Polo <op@omarpolo.com>
- Date:
properly initialize c->to
- Commit:
53abf42ed0e22de4890d40e6d9ba4f23f7761d0f
- From:
- Omar Polo <op@omarpolo.com>
- Date:
log when the connection succeeds
- Commit:
5955d4940f6561423821b64711b5a37861eee8f1
- From:
- Omar Polo <op@omarpolo.com>
- Date:
bump copyright year
- Commit:
eb1810c924e5f99683ae3c8391ca58cbc5a96a88
- From:
- Omar Polo <op@omarpolo.com>
- Date:
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.
- Commit:
c56ccc84283eb9c7c5b4acd3ecdf245669145031
- From:
- Omar Polo <op@omarpolo.com>
- Date:
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.
- Commit:
82c452fabb98831c03c09da5d642ea6b77a3ad3d
- From:
- Omar Polo <op@omarpolo.com>
- Date:
allow unlimited number of incoming connections
- Commit:
1d9a178e6081328b51cc98a09db94b310f12b811
- From:
- Omar Polo <op@omarpolo.com>
- Date:
cast argument to is*()
otherwise there can be issues on arches with signed chars (as amd64)