diff options
author | Karsten Loesing <karsten.loesing@gmx.net> | 2009-07-15 16:32:40 +0200 |
---|---|---|
committer | Karsten Loesing <karsten.loesing@gmx.net> | 2009-07-15 16:32:40 +0200 |
commit | 8c496d1660c326c0bc2bd5c505255d5ec3b653ec (patch) | |
tree | 4cab68d08f3ae7f4b9dbc8c12be028b0139791a1 /src/or/connection.c | |
parent | 416940d93bac49f78b57a2cf561bd324d75b391f (diff) | |
download | tor-8c496d1660c326c0bc2bd5c505255d5ec3b653ec.tar.gz tor-8c496d1660c326c0bc2bd5c505255d5ec3b653ec.zip |
Some tweaks to statistics.
Changes to directory request statistics:
- Rename GEOIP statistics to DIRREQ statistics, because they now include
more than only GeoIP-based statistics, whereas other statistics are
GeoIP-dependent, too.
- Rename output file from geoip-stats to dirreq-stats.
- Add new config option DirReqStatistics that is required to measure
directory request statistics.
- Clean up ChangeLog.
Also ensure that entry guards statistics have access to a local GeoIP
database.
Diffstat (limited to 'src/or/connection.c')
-rw-r--r-- | src/or/connection.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/connection.c b/src/or/connection.c index 242a32c2d9..dc9c4eace2 100644 --- a/src/or/connection.c +++ b/src/or/connection.c @@ -2302,7 +2302,7 @@ connection_handle_write(connection_t *conn, int force) /* else open, or closing */ result = flush_buf_tls(or_conn->tls, conn->outbuf, max_to_write, &conn->outbuf_flushlen); -#ifdef ENABLE_GEOIP_STATS +#ifdef ENABLE_DIRREQ_STATS /* If we just flushed the last bytes, check if this tunneled dir * request is done. */ if (buf_datalen(conn->outbuf) == 0 && conn->dirreq_id) |