summaryrefslogtreecommitdiffstats
path: root/tcpsrv.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2011-05-09 15:07:22 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2011-05-09 15:07:22 +0200
commitfd4a54698cee48da073622f7d6ac49c94ccb1808 (patch)
treeb16110018cd3a21a19561f45376403e1e8815cfb /tcpsrv.c
parent88ff647aef4c6db3c444c6d080f9886350ca9584 (diff)
parent87a01476e2a63ab7b6740b6b4182281d271ef382 (diff)
downloadrsyslog-fd4a54698cee48da073622f7d6ac49c94ccb1808.tar.gz
rsyslog-fd4a54698cee48da073622f7d6ac49c94ccb1808.tar.xz
rsyslog-fd4a54698cee48da073622f7d6ac49c94ccb1808.zip
Merge branch 'v5-stable' into beta
Conflicts: tools/omfwd.c
Diffstat (limited to 'tcpsrv.c')
-rw-r--r--tcpsrv.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tcpsrv.c b/tcpsrv.c
index 39cba5d1..2c97d522 100644
--- a/tcpsrv.c
+++ b/tcpsrv.c
@@ -539,7 +539,8 @@ doReceive(tcpsrv_t *pThis, tcps_sess_t **ppSess, nspoll_t *pPoll)
break;
case RS_RET_OK:
/* valid data received, process it! */
- if((localRet = tcps_sess.DataRcvd(*ppSess, buf, iRcvd)) != RS_RET_OK) {
+ localRet = tcps_sess.DataRcvd(*ppSess, buf, iRcvd);
+ if(localRet != RS_RET_OK && localRet != RS_RET_QUEUE_FULL) {
/* in this case, something went awfully wrong.
* We are instructed to terminate the session.
*/