]> git.sur5r.net Git - openldap/commit
ITS#4338 delete extraneous slapd_close() calls. Descriptors that were in
authorHoward Chu <hyc@openldap.org>
Fri, 13 Jan 2006 17:30:03 +0000 (17:30 +0000)
committerHoward Chu <hyc@openldap.org>
Fri, 13 Jan 2006 17:30:03 +0000 (17:30 +0000)
commit84429e8bcb11832c47010a8fbf11b2bb5f73b74d
tree9ac98ed0253b50dc7415751ea008ade0e90f9758
parentb85926a2c10c9a891cd3510cf8389b458dce27ac
ITS#4338 delete extraneous slapd_close() calls. Descriptors that were in
the event set must be removed using slapd_remove() and the whole sequence
must be protected with the slap_daemon.sd_mutex to close them properly.
Otherwise it will wind up closing valid, freshly opened sockets, or closing
dead sockets twice, etc. It's unnecessary to do any close management here
since connection.c already does the correct teardown sequence.
servers/slapd/daemon.c