From ea8669c37d2e30389457603a31c4d2976bbe9480 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Julio=20S=C3=A1nchez=20Fern=C3=A1ndez?= Date: Fri, 16 Jul 1999 18:48:13 +0000 Subject: [PATCH] Clear c_needs_tls_acccept on ldap_pvt_tls_accept errors --- servers/slapd/connection.c | 1 + 1 file changed, 1 insertion(+) diff --git a/servers/slapd/connection.c b/servers/slapd/connection.c index dedadbc338..0ff5d2a8cd 100644 --- a/servers/slapd/connection.c +++ b/servers/slapd/connection.c @@ -794,6 +794,7 @@ int connection_read(ber_socket_t s) "connection_read(%d): TLS accept error error=%d id=%ld, closing.\n", s, rc, c->c_connid ); + c->c_needs_tls_accept = 0; /* connections_mutex and c_mutex are locked */ connection_closing( c ); connection_close( c ); -- 2.39.5