Mercurial > dovecot > core-2.2
annotate src/director/notify-connection.h @ 22656:1789bf2a1e01
director: Make sure HOST-RESET-USERS isn't used with max_moving_users=0
The reset command would just hang in that case. doveadm would never have
sent this, so this is just an extra sanity check.
author | Timo Sirainen <timo.sirainen@dovecot.fi> |
---|---|
date | Sun, 05 Nov 2017 23:51:56 +0200 |
parents | 2a5336ad86cd |
children | 98408dc06937 |
rev | line source |
---|---|
11325
2a5336ad86cd
director: Tell login proxy to notify director of open connections every director_user_expire/2 secs.
Timo Sirainen <tss@iki.fi>
parents:
diff
changeset
|
1 #ifndef NOTIFY_CONNECTION_H |
2a5336ad86cd
director: Tell login proxy to notify director of open connections every director_user_expire/2 secs.
Timo Sirainen <tss@iki.fi>
parents:
diff
changeset
|
2 #define NOTIFY_CONNECTION_H |
2a5336ad86cd
director: Tell login proxy to notify director of open connections every director_user_expire/2 secs.
Timo Sirainen <tss@iki.fi>
parents:
diff
changeset
|
3 |
2a5336ad86cd
director: Tell login proxy to notify director of open connections every director_user_expire/2 secs.
Timo Sirainen <tss@iki.fi>
parents:
diff
changeset
|
4 struct director; |
2a5336ad86cd
director: Tell login proxy to notify director of open connections every director_user_expire/2 secs.
Timo Sirainen <tss@iki.fi>
parents:
diff
changeset
|
5 |
2a5336ad86cd
director: Tell login proxy to notify director of open connections every director_user_expire/2 secs.
Timo Sirainen <tss@iki.fi>
parents:
diff
changeset
|
6 struct notify_connection *notify_connection_init(struct director *dir, int fd); |
2a5336ad86cd
director: Tell login proxy to notify director of open connections every director_user_expire/2 secs.
Timo Sirainen <tss@iki.fi>
parents:
diff
changeset
|
7 void notify_connection_deinit(struct notify_connection **conn); |
2a5336ad86cd
director: Tell login proxy to notify director of open connections every director_user_expire/2 secs.
Timo Sirainen <tss@iki.fi>
parents:
diff
changeset
|
8 |
2a5336ad86cd
director: Tell login proxy to notify director of open connections every director_user_expire/2 secs.
Timo Sirainen <tss@iki.fi>
parents:
diff
changeset
|
9 #endif |