aboutsummaryrefslogtreecommitdiff
path: root/src/or/connection_edge.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2005-11-05 20:15:27 +0000
committerNick Mathewson <nickm@torproject.org>2005-11-05 20:15:27 +0000
commit75d85c8214eab8d6a06a60445307223c4a6a57d8 (patch)
treeb26b4f4c4cfb16cc9f99bbecec0a99b78168c087 /src/or/connection_edge.c
parent757def59b6909fdb36d663bab5a059b70e6d6b5d (diff)
downloadtor-75d85c8214eab8d6a06a60445307223c4a6a57d8.tar.gz
tor-75d85c8214eab8d6a06a60445307223c4a6a57d8.zip
On directory servers, old_routers was wasting hundreds of bytes per superseded router descriptor. Roll the signed descriptor info and identifying info into a cache_info struct, and use only that for old_routers.
svn:r5349
Diffstat (limited to 'src/or/connection_edge.c')
-rw-r--r--src/or/connection_edge.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/connection_edge.c b/src/or/connection_edge.c
index 4da992d68c..5374b59d25 100644
--- a/src/or/connection_edge.c
+++ b/src/or/connection_edge.c
@@ -1066,7 +1066,7 @@ connection_ap_handshake_process_socks(connection_t *conn)
/* use the hex digest, not nickname, in case there are two
routers with this nickname */
conn->chosen_exit_name =
- tor_strdup(hex_str(r->identity_digest, DIGEST_LEN));
+ tor_strdup(hex_str(r->cache_info.identity_digest, DIGEST_LEN));
}
}