mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-05 14:42:10 -05:00
Don't drain after TLS failure.... causes busy forever loop
This commit is contained in:
parent
4ef54d8640
commit
553a78e2ee
1 changed files with 2 additions and 0 deletions
|
|
@ -909,6 +909,7 @@ int connection_read(ber_socket_t s)
|
|||
/* connections_mutex and c_mutex are locked */
|
||||
connection_closing( c );
|
||||
|
||||
#if 0
|
||||
/* Drain input before close, to allow SSL error codes
|
||||
* to propagate to client. */
|
||||
FD_ZERO(&rfd);
|
||||
|
|
@ -922,6 +923,7 @@ int connection_read(ber_socket_t s)
|
|||
ber_sockbuf_ctrl( c->c_sb, LBER_SB_OPT_DRAIN,
|
||||
NULL);
|
||||
}
|
||||
#endif
|
||||
connection_close( c );
|
||||
|
||||
} else if ( rc == 0 ) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue