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

Re: slapd-read hangs (ITS#3832)

I believe I've identified the bug, testing a fix now - adding a 
ld->ld_conn_mutex to protect the ld_conns list. It appears that two 
requests come at the same time, neither finds an existing conn for the 
server, both create it, and both used the default ld_sb. Eventually the 
fd for one of them is lost, so the expected reply can never be read.

  -- Howard Chu
  Chief Architect, Symas Corp.  http://www.symas.com
  Director, Highland Sun        http://highlandsun.com/hyc
  OpenLDAP Core Team            http://www.openldap.org/project/