]> git.ipfire.org Git - thirdparty/sarg.git/commit
Initialize usertab as late as possible
authorFrederic Marchal <fmarchal@users.sourceforge.net>
Fri, 2 Oct 2015 17:07:55 +0000 (19:07 +0200)
committerFrederic Marchal <fmarchal@users.sourceforge.net>
Fri, 2 Oct 2015 17:07:55 +0000 (19:07 +0200)
commitda56e0c24c19ad4847df2dff3f7a0f8758d37585
tree790f36122fba1a6738e130cc2dc51b061690696d
parent8295485fdec8293f45828679c9bc31d4125b77ca
Initialize usertab as late as possible

The usertab option may use LDAP but the connection to the server was open
before parsing the access and useragent logs. It was possible that the
connection would time out before the first request was sent.

An attempt to fix this problem is to open the connection to the LDAP server
after parsing the log files.
datafile.c
log.c
report.c