dovecot-2.1: auth worker: When idle_kill timeout is reached, cha...
dovecot at dovecot.org
dovecot at dovecot.org
Mon Feb 27 16:54:03 EET 2012
details: http://hg.dovecot.org/dovecot-2.1/rev/5074680f321a
changeset: 14203:5074680f321a
user: Timo Sirainen <tss at iki.fi>
date: Mon Feb 27 16:52:44 2012 +0200
description:
auth worker: When idle_kill timeout is reached, change process title to indicate it.
diffstat:
src/auth/auth-worker-client.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diffs (17 lines):
diff -r 1999ae5c9699 -r 5074680f321a src/auth/auth-worker-client.c
--- a/src/auth/auth-worker-client.c Mon Feb 27 16:31:33 2012 +0200
+++ b/src/auth/auth-worker-client.c Mon Feb 27 16:52:44 2012 +0200
@@ -19,6 +19,7 @@
#define CLIENT_STATE_HANDSHAKE "handshaking"
#define CLIENT_STATE_IDLE "idling"
+#define CLIENT_STATE_STOP "waiting for shutdown"
struct auth_worker_client {
int refcount;
@@ -776,4 +777,5 @@
{
if (auth_worker_client != NULL)
o_stream_send_str(auth_worker_client->output, "SHUTDOWN\n");
+ auth_worker_refresh_proctitle(CLIENT_STATE_STOP);
}
More information about the dovecot-cvs
mailing list