summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd
diff options
context:
space:
mode:
authorGilles Chehade <gilles@cvs.openbsd.org>2018-09-03 17:41:56 +0000
committerGilles Chehade <gilles@cvs.openbsd.org>2018-09-03 17:41:56 +0000
commit80701f7854aa69f9072450594d0bb653b2857d6a (patch)
treed24e93931e1bcaff992d4286888f2af1becd1cd4 /usr.sbin/smtpd
parent7abe05b4e7bce13a5ce2e86e87ae9a5330d7f56e (diff)
bump max line size
ok eric@
Diffstat (limited to 'usr.sbin/smtpd')
-rw-r--r--usr.sbin/smtpd/smtp_session.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/smtpd/smtp_session.c b/usr.sbin/smtpd/smtp_session.c
index bb14900977a..d7c8346f110 100644
--- a/usr.sbin/smtpd/smtp_session.c
+++ b/usr.sbin/smtpd/smtp_session.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: smtp_session.c,v 1.335 2018/08/31 07:28:27 eric Exp $ */
+/* $OpenBSD: smtp_session.c,v 1.336 2018/09/03 17:41:55 gilles Exp $ */
/*
* Copyright (c) 2008 Gilles Chehade <gilles@poolp.org>
@@ -46,7 +46,7 @@
#include "ssl.h"
#include "rfc5322.h"
-#define SMTP_LINE_MAX 16384
+#define SMTP_LINE_MAX 65535
#define DATA_HIWAT 65535
#define APPEND_DOMAIN_BUFFER_SIZE SMTP_LINE_MAX