From 3056c15ef4d1d7b73a9591347cf0cef76c020792 Mon Sep 17 00:00:00 2001 From: Jonathan Bond-Caron Date: Wed, 25 Nov 2009 16:35:54 +0100 Subject: bugfix (kind of): check if TCP connection is still alive if using TLS Signed-off-by: Rainer Gerhards --- runtime/nsd_gtls.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'runtime/nsd_gtls.c') 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); } -- cgit