Module: check_mk
Branch: master
Commit: 5dbd6dc78ddf379f47238793b907ab43b265bc84
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=5dbd6dc78ddf37…
Author: Sven Panne <sp(a)mathias-kettner.de>
Date: Mon Jun 6 11:28:15 2016 +0200
Don't send error messages as a reply, this breaks the protocol.
---
bin/mkeventd | 5 -----
1 file changed, 5 deletions(-)
diff --git a/bin/mkeventd b/bin/mkeventd
index e8c09fb..09e7ca3 100755
--- a/bin/mkeventd
+++ b/bin/mkeventd
@@ -2705,11 +2705,6 @@ class StatusServer:
except Exception, e:
log("Error handling client %s: %s" % (addr_info, e))
if client_socket:
- try:
- client_socket.sendall("ERROR: %s\n" % e)
- except:
- pass # avoid next exception because of broken pipe!
-
client_socket.close()
client_socket = None
if opt_debug: