RFC5424 sec 6.1 states that we *should* support 2048 byte long msgs

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
Joachim Nilsson 2019-11-07 20:56:02 +01:00
parent 07033382ee
commit fff4368e80
2 changed files with 7 additions and 7 deletions

View File

@ -50,13 +50,6 @@ static char sccsid[] __attribute__((unused)) =
* *
*/ */
#define MAXLINE 1024 /* maximum line length */
#define MAXSVLINE 240 /* maximum saved line length */
#define DEFUPRI (LOG_USER | LOG_NOTICE)
#define DEFSPRI (LOG_KERN | LOG_CRIT)
#define TIMERINTVL 30 /* interval for checking flush, mark */
#define RCVBUF_MINSIZE (80 * 1024) /* minimum size of dgram rcv buffer */
#include "config.h" #include "config.h"
#include <assert.h> #include <assert.h>

View File

@ -35,6 +35,13 @@
#include "queue.h" #include "queue.h"
#include "syslog.h" #include "syslog.h"
#define MAXLINE 2048 /* maximum line length */
#define MAXSVLINE MAXLINE /* maximum saved line length */
#define DEFUPRI (LOG_USER | LOG_NOTICE)
#define DEFSPRI (LOG_KERN | LOG_CRIT)
#define TIMERINTVL 30 /* interval for checking flush, mark */
#define RCVBUF_MINSIZE (80 * MAXLINE) /* minimum size of dgram rcv buffer */
/* /*
* Linux uses EIO instead of EBADFD (mrn 12 May 96) * Linux uses EIO instead of EBADFD (mrn 12 May 96)
*/ */