]> git.ipfire.org Git - thirdparty/dovecot/core.git/commit
stats: Added ADD-USER command to add stats to a user without having a session.
authorTimo Sirainen <timo.sirainen@dovecot.fi>
Fri, 5 Feb 2016 12:55:56 +0000 (14:55 +0200)
committerTimo Sirainen <timo.sirainen@dovecot.fi>
Fri, 5 Feb 2016 13:25:43 +0000 (15:25 +0200)
commitb7a0a5c1e8310503c44be9ecd37be095604f7fa6
treeef0bf294b744ce943d0ece1bfb4f6ea6787ec951
parente618403cd6bb910e28b21aa0519ed53fa7d94cd2
stats: Added ADD-USER command to add stats to a user without having a session.

This will be used by at least the auth process. Although the auth process
does have a session, it's a bit too early to start using it yet. At least the
PID should be possible to change when the session moves to imap process.
Also the unsuccessful authentication sessions shouldn't really be added at
all.
src/stats/fifo-input-connection.c
src/stats/mail-user.c
src/stats/mail-user.h