summaryrefslogtreecommitdiffstats
path: root/runtime
diff options
context:
space:
mode:
authorJonathan Bond-Caron <jbondc@openmv.com>2009-11-25 16:35:54 +0100
committerRainer Gerhards <rgerhards@adiscon.com>2009-11-25 16:35:54 +0100
commit3056c15ef4d1d7b73a9591347cf0cef76c020792 (patch)
treeac4a500c9602d347f45fb608639f8a3b800eb7a1 /runtime
parent903811a856109486ce238133fc8c68fa89f26514 (diff)
downloadrsyslog-3056c15ef4d1d7b73a9591347cf0cef76c020792.tar.gz
rsyslog-3056c15ef4d1d7b73a9591347cf0cef76c020792.tar.xz
rsyslog-3056c15ef4d1d7b73a9591347cf0cef76c020792.zip
bugfix (kind of): check if TCP connection is still alive if using TLS
Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
Diffstat (limited to 'runtime')
-rw-r--r--runtime/nsd_gtls.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/runtime/nsd_gtls.c b/runtime/nsd_gtls.c
index 79ceffb3..fb2e219d 100644
--- a/runtime/nsd_gtls.c
+++ b/runtime/nsd_gtls.c
@@ -1325,7 +1325,10 @@ finalize_it:
static void
CheckConnection(nsd_t __attribute__((unused)) *pNsd)
{
- /* dummy, do nothing */
+ nsd_gtls_t *pThis = (nsd_gtls_t*) pNsd;
+ ISOBJ_TYPE_assert(pThis, nsd_gtls);
+
+ nsd_ptcp.CheckConnection(pThis->pTcp);
}