summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd/smtpd.h
diff options
context:
space:
mode:
authorEric Faurot <eric@cvs.openbsd.org>2013-01-31 18:24:48 +0000
committerEric Faurot <eric@cvs.openbsd.org>2013-01-31 18:24:48 +0000
commit607436a02a6968961ade01e8dfc0543ce3a1362a (patch)
tree14db018556821529da5790f8b2beadce695f31ed /usr.sbin/smtpd/smtpd.h
parentf92b41edba6dd5a662bc34119f177412224c25be (diff)
do not need to tweak the socket sndbuf, now that the envelopes are passed
in compressed form. reduce the default size for envelope messages. ok gilles@
Diffstat (limited to 'usr.sbin/smtpd/smtpd.h')
-rw-r--r--usr.sbin/smtpd/smtpd.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/usr.sbin/smtpd/smtpd.h b/usr.sbin/smtpd/smtpd.h
index ac5fcfe2fcb..e3e07142c6e 100644
--- a/usr.sbin/smtpd/smtpd.h
+++ b/usr.sbin/smtpd/smtpd.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: smtpd.h,v 1.400 2013/01/28 16:40:22 eric Exp $ */
+/* $OpenBSD: smtpd.h,v 1.401 2013/01/31 18:24:47 eric Exp $ */
/*
* Copyright (c) 2008 Gilles Chehade <gilles@poolp.org>
@@ -906,11 +906,8 @@ struct stat_digest {
size_t dlv_loop;
};
-#if 1
-#define MSZ_EVP (32 + sizeof(struct envelope))
-#else
-#define MSZ_EVP 384
-#endif
+#define MSZ_EVP 512
+
struct mproc {
pid_t pid;