Commit Briefs

Omar Polo

opt-in some warnings



Omar Polo

drop attribute __bounded__ in vis.h

it's not super-important, generates lots of warnings and seems to be absent in other copies of vis.h scattered on other OpenBSD -portable software (tmux for instance.)


Omar Polo

main_imsg_compose_listener: use (peerid) 0 instead of imsg.hdr.pid

it's wrong to pass the pid instead of the peerid and the peerid is not important anyway for the VERBOSE request.


Omar Polo

client_send_listener: send correct peerid

fix typo in previous commit where `0' was used instead of peerid. Spotted by cage, thanks!


Omar Polo

tweak debug call


Omar Polo

drop unnecessary debugging log


Omar Polo

add kamictl debug: list open fids on every ongoing connection

while here also fix the imsg retrival loop


Omar Polo

add IMSG_CTL_DEBUG to debug the opened fid

meant to be used from kamictl to dump all the opened fid by every connection.


Omar Polo

kill stray line


Omar Polo

listener: enable config reload




Omar Polo

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.


Omar Polo

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.