bump max line size
authorgilles <gilles@openbsd.org>
Mon, 3 Sep 2018 17:41:55 +0000 (17:41 +0000)
committergilles <gilles@openbsd.org>
Mon, 3 Sep 2018 17:41:55 +0000 (17:41 +0000)
ok eric@

usr.sbin/smtpd/smtp_session.c

index bb14900..d7c8346 100644 (file)
@@ -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