mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-02-02 11:59:45 -05:00
ITS#10258 slapd: fix unbind/close race
Don't call slapd_set_read() on an Unbinding connection
This commit is contained in:
parent
c79a8ea61b
commit
ab4f4bcf5c
1 changed files with 2 additions and 1 deletions
|
|
@ -1493,7 +1493,8 @@ connection_read( ber_socket_t s, conn_readinfo *cri )
|
|||
slapd_set_write( s, 0 );
|
||||
}
|
||||
|
||||
slapd_set_read( s, 1 );
|
||||
if ( !cri->op || cri->op->o_tag != LDAP_REQ_UNBIND )
|
||||
slapd_set_read( s, 1 );
|
||||
connection_return( c );
|
||||
|
||||
return 0;
|
||||
|
|
|
|||
Loading…
Reference in a new issue