aboutsummaryrefslogtreecommitdiff
path: root/src/or/connection_or.c
diff options
context:
space:
mode:
authorKarsten Loesing <karsten.loesing@gmx.net>2009-08-21 23:02:36 +0200
committerKarsten Loesing <karsten.loesing@gmx.net>2009-08-21 23:02:36 +0200
commit8c29b7920ae18a46ce0527806507275783d1ae42 (patch)
tree0ff5936969a5b1b831686d1af5fbcff968dd915f /src/or/connection_or.c
parent75c59d1a92e0f4956bd249844c188c432aae1712 (diff)
downloadtor-8c29b7920ae18a46ce0527806507275783d1ae42.tar
tor-8c29b7920ae18a46ce0527806507275783d1ae42.tar.gz
Add some fixes after discussion with Nick.
- Refactor geoip.c by moving duplicate code into rotate_request_period(). - Don't leak memory when cleaning up cell queues. - Make sure that exit_(streams|bytes_(read|written)) are initialized in all places accessing these arrays. - Read only the last block from *stats files and ensure that its timestamp is not more than 25 hours in the past and not more than 1 hour in the future. - Stop truncating the last character when reading *stats files. The only thing that's left now is to avoid reading whole *stats files into memory.
Diffstat (limited to 'src/or/connection_or.c')
0 files changed, 0 insertions, 0 deletions