diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2012-11-13 16:17:50 +0100 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2012-11-13 16:17:50 +0100 |
commit | ef9128a9f92f2a68ac0fb5db27ded192a258df13 (patch) | |
tree | 4dd8bbd724cbe18b34f0be70e46d96b0aba59fd5 | |
parent | dc8f9b531c6c53af7a81a5a378ba1c1514f7a47c (diff) | |
parent | 85536bc0c9c39c21ff1b1c158667d2a5aab6b355 (diff) | |
download | rsyslog-ef9128a9f92f2a68ac0fb5db27ded192a258df13.tar.gz rsyslog-ef9128a9f92f2a68ac0fb5db27ded192a258df13.tar.bz2 rsyslog-ef9128a9f92f2a68ac0fb5db27ded192a258df13.zip |
Merge branch 'v5-stable' into v6-stable
Conflicts:
ChangeLog
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | plugins/imuxsock/imuxsock.c | 2 |
2 files changed, 5 insertions, 1 deletions
@@ -665,6 +665,10 @@ expected that interfaces, even new ones, break during the initial syslog plain tcp input plugin (NOT supporting TLS!) [ported from v4] --------------------------------------------------------------------------- +Version 5.10.2 [V5-STABLE], 201?-??-?? +- bugfix: spurios error messages from imuxsock about (non-error) EAGAIN + Thanks to Marius Tomaschwesky for the patch. +--------------------------------------------------------------------------- Version 5.10.1 [V5-STABLE], 2012-10-17 - bugfix: imuxsock and imklog truncated head of received message This happened only under some circumstances. Thanks to Marius diff --git a/plugins/imuxsock/imuxsock.c b/plugins/imuxsock/imuxsock.c index 1cb367b0..79c6b734 100644 --- a/plugins/imuxsock/imuxsock.c +++ b/plugins/imuxsock/imuxsock.c @@ -1084,7 +1084,7 @@ static rsRetVal readSocket(lstn_t *pLstn) } } CHKiRet(SubmitMsg(pRcv, iRcvd, pLstn, cred, ts)); - } else if(iRcvd < 0 && errno != EINTR) { + } else if(iRcvd < 0 && errno != EINTR && errno != EAGAIN) { char errStr[1024]; rs_strerror_r(errno, errStr, sizeof(errStr)); DBGPRINTF("UNIX socket error: %d = %s.\n", errno, errStr); |