From 9f6f1df2a5c14061939526de3aa686631815a2c8 Mon Sep 17 00:00:00 2001 From: Chris Tallon Date: Sat, 19 Jan 2013 18:39:42 +0000 Subject: [PATCH] Kill connection immediately if log send failed to send all --- vdr.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/vdr.cc b/vdr.cc index 9e1bf8a..6aee522 100644 --- a/vdr.cc +++ b/vdr.cc @@ -701,6 +701,7 @@ bool VDR::LogExtern(const char* logString) if (tcp->sendData(buffer, packetLength) != packetLength) { + connected = false; // stop the rest of the connection delete [] buffer; return false; } -- 2.39.5