summaryrefslogtreecommitdiffstats
path: root/tcpsrv.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2009-06-12 16:30:39 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2009-06-12 16:30:39 +0200
commit057c9b11fca013205877e15dd851927a11aa058b (patch)
tree5d314274542db6b09ff325080cc21ed2b144def4 /tcpsrv.c
parentb5ccdf06724d309b777d4dd38a455ed2ef0318a0 (diff)
downloadrsyslog-057c9b11fca013205877e15dd851927a11aa058b.tar.gz
rsyslog-057c9b11fca013205877e15dd851927a11aa058b.tar.xz
rsyslog-057c9b11fca013205877e15dd851927a11aa058b.zip
fixed a regression from past commit & more performance enhancement
a larger buffer is a cheap, yet useful, enhancement... ;)
Diffstat (limited to 'tcpsrv.c')
-rw-r--r--tcpsrv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tcpsrv.c b/tcpsrv.c
index 5e2bd530..21699bca 100644
--- a/tcpsrv.c
+++ b/tcpsrv.c
@@ -513,7 +513,7 @@ Run(tcpsrv_t *pThis)
while(nfds && iTCPSess != -1) {
CHKiRet(nssel.IsReady(pSel, pThis->pSessions[iTCPSess]->pStrm, NSDSEL_RD, &bIsReady, &nfds));
if(bIsReady) {
- char buf[8*1024]; /* reception buffer - may hold a partial or multiple messages */
+ char buf[64*1024]; /* reception buffer - may hold a partial or multiple messages */
dbgprintf("netstream %p with new data\n", pThis->pSessions[iTCPSess]->pStrm);
/* Receive message */