[Date Prev][Date Next] [Chronological] [Thread] [Top]

idletimeout issue (ITS#767)

Full_Name: J. Cameijo Cerdeira
Version: 2.0.3
OS: linux 2.2.12
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (


Setting the idletimeout parammeter in slapd.conf to any value > 0 results in a 
slapd hangup.

After browsing connection.c , it seems to me that connections_timeout_idle() 
tries to lock connection_mutex and then, when connection_first() is called,
a new lock is tried which results in a deadlock situation. 
Furthermore, again in connections_timeout_idle(), i believe connection_done()
should be called inside de for(;;) loop.