]> git.sur5r.net Git - openldap/commitdiff
Clear c_needs_tls_acccept on ldap_pvt_tls_accept errors
authorJulio Sánchez Fernández <jsanchez@openldap.org>
Fri, 16 Jul 1999 18:48:13 +0000 (18:48 +0000)
committerJulio Sánchez Fernández <jsanchez@openldap.org>
Fri, 16 Jul 1999 18:48:13 +0000 (18:48 +0000)
servers/slapd/connection.c

index dedadbc33803d166759a39d8edda2b4cdf24ed48..0ff5d2a8cd67a09474f727c4a5d5198381612c72 100644 (file)
@@ -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 );