diff options
author | Nick Mathewson <nickm@torproject.org> | 2008-03-29 04:27:34 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2008-03-29 04:27:34 +0000 |
commit | e19d96637d44bef2751e7c6c594a2951fcdc1b0a (patch) | |
tree | d9b7d645a40f508bf611798ed5a672c28a7996e4 /src/or/dirserv.c | |
parent | e89bf1c573e250bb13847ded09d921d5ad60a461 (diff) | |
download | tor-e19d96637d44bef2751e7c6c594a2951fcdc1b0a.tar.gz tor-e19d96637d44bef2751e7c6c594a2951fcdc1b0a.zip |
r19118@catbus: nickm | 2008-03-29 00:27:08 -0400
Code (disabled) to get way too much info about the contents of old_routers on USR1.
svn:r14230
Diffstat (limited to 'src/or/dirserv.c')
-rw-r--r-- | src/or/dirserv.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/dirserv.c b/src/or/dirserv.c index 81181f7741..aa4d8b717e 100644 --- a/src/or/dirserv.c +++ b/src/or/dirserv.c @@ -2939,6 +2939,7 @@ connection_dirserv_finish_spooling(dir_connection_t *conn) static int connection_dirserv_add_servers_to_outbuf(dir_connection_t *conn) { + time_t now = time(NULL); int by_fp = (conn->dir_spool_src == DIR_SPOOL_SERVER_BY_FP || conn->dir_spool_src == DIR_SPOOL_EXTRA_BY_FP); int extra = (conn->dir_spool_src == DIR_SPOOL_EXTRA_BY_FP || @@ -2966,7 +2967,7 @@ connection_dirserv_add_servers_to_outbuf(dir_connection_t *conn) * unknown bridge descriptor has shown up between then and now. */ continue; } - + sd->last_served_at = now; body = signed_descriptor_get_body(sd); if (conn->zlib_state) { int last = ! smartlist_len(conn->fingerprint_stack); |