diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2011-05-02 12:43:58 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2011-05-02 12:43:58 +0200 |
commit | 921bebc8ee203c0569332c636515c4de036dfcf9 (patch) | |
tree | 13bcf471ec464ffe358bdeb2824036e6dd8f74d7 /tcpsrv.c | |
parent | d13ec67f9ab9c59a88952af6aec372fd082401ca (diff) | |
download | rsyslog-921bebc8ee203c0569332c636515c4de036dfcf9.tar.gz rsyslog-921bebc8ee203c0569332c636515c4de036dfcf9.tar.bz2 rsyslog-921bebc8ee203c0569332c636515c4de036dfcf9.zip |
bugfix: TCP connection invalidly aborted when messages needed to be discarded
due to QUEUE_FULL or similar problem
Diffstat (limited to 'tcpsrv.c')
-rw-r--r-- | tcpsrv.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -547,7 +547,7 @@ Run(tcpsrv_t *pThis) case RS_RET_OK: /* valid data received, process it! */ localRet = tcps_sess.DataRcvd(pThis->pSessions[iTCPSess], buf, iRcvd); - if(localRet != RS_RET_OK) { + if(localRet != RS_RET_OK && localRet != RS_RET_QUEUE_FULL) { /* in this case, something went awfully wrong. * We are instructed to terminate the session. */ |