From bb693fd1b5bc10ff8cff9897454158dc55de2364 Mon Sep 17 00:00:00 2001 From: Mark Valence Date: Thu, 9 Dec 1999 21:06:42 +0000 Subject: [PATCH] Bug fix: re-used Connection have TLS value for previous conn. --- servers/slapd/connection.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/servers/slapd/connection.c b/servers/slapd/connection.c index 108c80a63f..3f116b6ecc 100644 --- a/servers/slapd/connection.c +++ b/servers/slapd/connection.c @@ -436,6 +436,9 @@ long connection_init( if ( use_tls ) { c->c_is_tls = 1; c->c_needs_tls_accept = 1; + } else { + c->c_is_tls = 0; + c->c_needs_tls_accept = 0; } #endif -- 2.39.5