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

(ITS#7543) Statslog "conn=-1 ... ACCEPT"

Full_Name: Hallvard B Furuseth
Version: 2.4.34
OS: Linux x86_64
Submission from: (NULL) (
Submitted by: hallvard

slapd logs "conn=-1 fd=.. ACCEPT" if the connection is closed before
logging ACCEPT.  This became more common recently.  I'll fix it by
moving Statslog into connection_init(), which knows the connection ID.

Not fixing "ACCEPT" to always be logged before "close": It would need
the Statslog() done before unlocking c->c_mutex, which looks like it
could impact throughput.