diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2006-02-01 08:52:02 +0000 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2006-02-01 08:52:02 +0000 |
commit | 5e87c086847f51c8e8d0a7efc4a5b4999707ad8d (patch) | |
tree | 2f11cdad745f3491ce5cc0a1ee85201d24cf72cb | |
parent | 00c20108b37bc6d36964f048cd8b9bf0622bb7bf (diff) | |
download | rsyslog-1-0-4.tar.gz rsyslog-1-0-4.tar.xz rsyslog-1-0-4.zip |
remove 2 forgotten debug-printfs causing performance problems in the tcpv1-0-4
receiver
-rw-r--r-- | NEWS | 5 | ||||
-rw-r--r-- | syslogd.c | 2 | ||||
-rw-r--r-- | version.h | 2 |
3 files changed, 6 insertions, 3 deletions
@@ -1,4 +1,9 @@ --------------------------------------------------------------------------- +Version 1.0.4 (RGer), 2006-02-01 +- a small but important fix: the tcp receiver had two forgotten printf's + in it that caused a lot of unnecessary output to stdout. This was + important enough to justify a new release +--------------------------------------------------------------------------- Version 1.0.3 (RGer), 2005-11-14 - added an additional guard to prevent rsyslogd from aborting when the 2gb file size limit is hit. While a user can configure rsyslogd to @@ -896,7 +896,6 @@ void TCPSessDataRcvd(int iTCPSess, char *pData, int iLen) pEnd = pData + iLen; /* this is one off, which is intensional */ while(pData < pEnd) { -printf("## in loop\n"); if(iMsg >= MAXLINE) { /* emergency, we now need to flush, no matter if * we are at end of message or not... @@ -914,7 +913,6 @@ printf("## in loop\n"); printline(TCPSessions[iTCPSess].fromHost, pMsg, SOURCE_INET); iMsg = 0; ++pData; -printf("## record delim found\n"); } else { *(pMsg + iMsg++) = *pData++; } @@ -1,2 +1,2 @@ #define VERSION "1.0" -#define PATCHLEVEL "3" +#define PATCHLEVEL "4" |