Commit Briefs

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.


Omar Polo

drop unused flag done for clients



Omar Polo

use serial ids and drop usage of arc4random

it's not so useful here and not (directly) used anywhere else.


Omar Polo

listener: correctly swap config after reload

and don't forget to free the current config!



Omar Polo

fix the restart of the main process

delete useless functions such as merge_config and config_clear while here.


Omar Polo

implement clear_config for real



Omar Polo

export clear_config from parse.y



Omar Polo

only memcpy into imsg->data if datalen is not zero

Passing a NULL pointer to memcpy is UB no matter if len is 0 (commit by claudio@, backporting for kamid.)


Omar Polo

add draft of a tutorial


Omar Polo

typo