Use CLOCK_MONOTONIC for timer measurement and add a timestamp to control

mode %output blocks.
This commit is contained in:
nicm
2020-06-02 08:17:27 +00:00
parent 563b7331da
commit f3931497f8
6 changed files with 41 additions and 19 deletions

View File

@ -1779,7 +1779,9 @@ server_client_check_exit(struct client *c)
struct client_file *cf;
const char *name = c->exit_session;
if ((c->flags & CLIENT_EXITED) || (~c->flags & CLIENT_EXIT))
if (c->flags & (CLIENT_DEAD|CLIENT_EXITED))
return;
if (~c->flags & CLIENT_EXIT)
return;
if (c->flags & CLIENT_CONTROL) {