[Date Prev][Date Next]
(ITS#7543) Statslog "conn=-1 ... ACCEPT"
Full_Name: Hallvard B Furuseth
OS: Linux x86_64
Submission from: (NULL) (22.214.171.124)
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.