Clear c_needs_tls_acccept on ldap_pvt_tls_accept errors

This commit is contained in:
Julio Sánchez Fernández 1999-07-16 18:48:13 +00:00
parent 5ab862aee7
commit ea8669c37d

View 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 );