Change the way how directories that are configured with --enable-geoip-stats write...
commit54c97c9133ebbeea6aed9b4526b19fbc0d88377b
authorKarsten Loesing <karsten.loesing@gmx.net>
Wed, 27 May 2009 15:52:46 +0000 (27 17:52 +0200)
committerKarsten Loesing <karsten.loesing@gmx.net>
Wed, 27 May 2009 17:13:31 +0000 (27 19:13 +0200)
tree4357577684ab5acc0928b543ef88b002d325a9c3
parentbf7e5d6553acd8d8ce37e80586083620d66d0160
Change the way how directories that are configured with --enable-geoip-stats write geoip stats to disk.

- Write geoip stats to disk every 24 hours, not every hour.
- Remove configuration options and define reasonable defaults.
- Clear history of client requests every 24 hours (which wasn't done at
  all before).
ChangeLog
src/or/config.c
src/or/geoip.c
src/or/main.c
src/or/or.h
src/or/router.c