mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-02-18 10:07:56 -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
766389dfaa
commit
235b5482fc
1 changed files with 2 additions and 1 deletions
|
|
@ -1482,7 +1482,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