Commits
- Commit:
f4bc229f64047cd8b9a2802c312946aee3240295
- From:
- Omar Polo <op@omarpolo.com>
- Date:
tweak debug call
- Commit:
bc20ef66e60cf8e65d1d0520cccce9cbc30b7c4f
- From:
- Omar Polo <op@omarpolo.com>
- Date:
drop unnecessary debugging log
- Commit:
5c69b561db9f5713670e2f1e1519cc7f61b06645
- From:
- Omar Polo <op@omarpolo.com>
- Date:
add IMSG_CTL_DEBUG to debug the opened fid
meant to be used from kamictl to dump all the opened fid by every
connection.
- Commit:
00fe86bc5bcaa07c44673ea4719609b539d97ce9
- From:
- Omar Polo <op@omarpolo.com>
- Date:
listener: enable config reload
- Commit:
38a6fd3d7baf09b83ee89a43574dec61146a08b9
- From:
- Omar Polo <op@omarpolo.com>
- Date:
cache listener flags in struct client
this saves us from the small chance that a client accepted before
reconf uses the flags from a listener post reconf.
- Commit:
ac796d32181ae09d4225fa5bf3598d4d54d2b8cf
- From:
- Omar Polo <op@omarpolo.com>
- Date:
fix restart in listener
drop connections in the handshake phase: the listener from where
they've been accepted is now being replaced and its id is no more
meaningful. Clients for which we have already sent an auth request
are kept.
- Commit:
59d845219a6112f64530c82f61f611e5a1d81008
- From:
- Omar Polo <op@omarpolo.com>
- Date:
drop unused flag done for clients
- Commit:
2ab2c437c9ec8fe1c2fedae13799e508c66fea8f
- From:
- Omar Polo <op@omarpolo.com>
- Date:
remove clients from the splay at the start of close_conn
- Commit:
057b5ab72f72be49038ae43aed7727cdb212bbb7
- From:
- Omar Polo <op@omarpolo.com>
- Date:
use serial ids and drop usage of arc4random
it's not so useful here and not (directly) used anywhere else.
- Commit:
4c0ae0c3cf2253e2e929fcb85c907f3a17116e1f
- From:
- Omar Polo <op@omarpolo.com>
- Date:
listener: correctly swap config after reload
and don't forget to free the current config!
- Commit:
d70ef5541a28814243c1693e1697b51ae90d2e2e
- From:
- Omar Polo <op@omarpolo.com>
- Date:
use STAILQ_INIT instead of memcpy(head, 0) to init the queues
- Commit:
ef9db8f6509d19830eee719f4a410aae1e171539
- From:
- Omar Polo <op@omarpolo.com>
- Date:
call clear_config from parse.y in listener_shutdown
- Commit:
982f38dc950a803ee7331eba9f6b6f7a37d45f58
- From:
- Omar Polo <op@omarpolo.com>
- Date:
listener: handle IMSG_CTL_LOG_VERBOSE
adjust the logging level and forward it to every client process so they
can do so too.
- Commit:
a80d2bca13974bb0fe9dab49a777c3fe05abf543
- From:
- Omar Polo <op@omarpolo.com>
- Date:
move control to the main process
We may want to be able to run multiple listener process eventually, so
the first step is to drop IMSG_CONTROLFD and keep the ctl stuff in the
main process.
- Commit:
1e84c7b793afb2f25b7515283340a1f730290c3c
- From:
- Omar Polo <op@omarpolo.com>
- Date:
simplify client proc bootstrap
Drop the IMSG_AUTH_DIR imsg type and stuff everything in a struct
kd_auth_proc that gets sent via IMSG_AUTH. Tweak the necessary bits to
compile. While here also start documenting what data we send over which
imsg.
As an added benefit, now we're sending fixed-size messages instead of
variable length strings.