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:
parent
07033382ee
commit
fff4368e80
@ -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 <assert.h>
|
||||
|
@ -35,6 +35,13 @@
|
||||
#include "queue.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)
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user