diff options
| author | 2014-07-08 15:45:32 +0000 | |
|---|---|---|
| committer | 2014-07-08 15:45:32 +0000 | |
| commit | 98f67d1688f1b9fc1ab749b00f67fbe7f50e49a3 (patch) | |
| tree | f8a8e9f7be599fee14e2d5170c13cfc872a38163 /usr.sbin/smtpd/queue.c | |
| parent | remove dead code. these imsgs are handled in pony.c. (diff) | |
| download | wireguard-openbsd-98f67d1688f1b9fc1ab749b00f67fbe7f50e49a3.tar.xz wireguard-openbsd-98f67d1688f1b9fc1ab749b00f67fbe7f50e49a3.zip | |
various queue improvements:
- add a "close" hook to the backend API.
- improve the sync() pattern in queue_fs: only sync at commit
time and not for every envelope creation
- various fixes to the experimental external queue API.
Diffstat (limited to 'usr.sbin/smtpd/queue.c')
| -rw-r--r-- | usr.sbin/smtpd/queue.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/smtpd/queue.c b/usr.sbin/smtpd/queue.c index 5f68ad86f86..4e26fe600c3 100644 --- a/usr.sbin/smtpd/queue.c +++ b/usr.sbin/smtpd/queue.c @@ -1,4 +1,4 @@ -/* $OpenBSD: queue.c,v 1.162 2014/04/19 13:40:24 gilles Exp $ */ +/* $OpenBSD: queue.c,v 1.163 2014/07/08 15:45:32 eric Exp $ */ /* * Copyright (c) 2008 Gilles Chehade <gilles@poolp.org> @@ -561,6 +561,7 @@ static void queue_shutdown(void) { log_info("info: queue handler exiting"); + queue_close(); _exit(0); } |
