mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-24 00:29:35 -05:00
Don't decrement descriptor count until we have checked connection is not UDP
This commit is contained in:
parent
0dd503a339
commit
17ffdc07b6
1 changed files with 2 additions and 2 deletions
|
|
@ -1758,8 +1758,6 @@ slapd_daemon_task(
|
|||
if ( !SLAP_EVENT_IS_READ( slap_listeners[l]->sl_sd ))
|
||||
continue;
|
||||
|
||||
ns--;
|
||||
|
||||
rc = slapd_handle_listener(slap_listeners[l]);
|
||||
|
||||
#ifdef LDAP_CONNECTIONLESS
|
||||
|
|
@ -1767,6 +1765,8 @@ slapd_daemon_task(
|
|||
if ( rc ) continue;
|
||||
#endif
|
||||
|
||||
ns--;
|
||||
|
||||
/* Don't need to look at this in the data loops */
|
||||
SLAP_EVENT_CLR_READ( slap_listeners[l]->sl_sd );
|
||||
SLAP_EVENT_CLR_WRITE( slap_listeners[l]->sl_sd );
|
||||
|
|
|
|||
Loading…
Reference in a new issue