Nick Mathewson
|
3bd613b44d
Rename connection_get_by_identity_digest to reflect that it is OR-only. Make it use a hashtable instead of a linear search.
|
20 years ago |
Nick Mathewson
|
7de0c33857
Avoid a segfault in routerlist_reset_warnings()
|
20 years ago |
Roger Dingledine
|
0118a236a4
comment that scary-looking function.
|
20 years ago |
Nick Mathewson
|
eb0021b06e
Fix dumb logic error that kept some old descripttors from getting the axe.
|
20 years ago |
Nick Mathewson
|
061ef582a1
Make dropping very old descriptors faster (remove old correctness check). Track bytes dropped that are still in our store or journal, and rebuild when it gets very high.
|
20 years ago |
Nick Mathewson
|
36109fea33
e more aggressive about calling routerlist_remove_old_routers()
|
20 years ago |
Nick Mathewson
|
fbf8a8c25f
Dump bytes held to store descriptors.
|
20 years ago |
Nick Mathewson
|
7d7bb95f36
Track how many bytes we have in signed descriptors. Try to make sure we are tracking this right. Somebody should valgrind a dirserver on an example net. There should be code to dump this value.
|
20 years ago |
Nick Mathewson
|
50ce5e1932
Avoid spurious re-launch of first pending requested descriptor
|
20 years ago |
Roger Dingledine
|
f28770b639
be less eager to decide that the entire network is down
|
20 years ago |
Roger Dingledine
|
859d1c902a
and another instance where i was trying to be too sneaky
|
20 years ago |
Roger Dingledine
|
5c949fce51
Start obeying our firewall options more rigorously:
|
20 years ago |
Roger Dingledine
|
7aae63994f
Recover better from TCP connections to Tor servers that are broken but
|
20 years ago |
Roger Dingledine
|
afb1c79879
Leave options->DirServers alone -- if the user didn't specify any,
|
20 years ago |
Roger Dingledine
|
aa53190ed5
and another one
|
20 years ago |
Roger Dingledine
|
9111a3fb48
comment out some really popular log lines
|
20 years ago |
Roger Dingledine
|
fe7b07754f
make it even more clear that i didn't screw up the logic
|
20 years ago |
Roger Dingledine
|
53269f696d
fix logic error: not unnamed is good.
|
20 years ago |
Nick Mathewson
|
9b432311c4
Make new logging stuff work on windows; fix a couple of windows typos.
|
20 years ago |
Roger Dingledine
|
4d1c6bbfc4
fix function comment
|
20 years ago |
Roger Dingledine
|
c074f528c1
fix a harmless warn and mark two points where we should
|
20 years ago |
Nick Mathewson
|
75d85c8214
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.
|
20 years ago |
Nick Mathewson
|
757def59b6
Fix bugs in routerlist_remove_old_cached_routers_with_id()
|
20 years ago |
Nick Mathewson
|
9e82f0cdb7
enable code to remove members of old_routers when it gets big.
|
20 years ago |
Roger Dingledine
|
6dafca62f0
remove redundant checking for . and .. now that
|
20 years ago |
Roger Dingledine
|
1991f6cf48
more doc cleanups and reorganizing
|
20 years ago |
Roger Dingledine
|
862e8a1bd1
fix typo
|
20 years ago |
Nick Mathewson
|
ed32d85a04
router_add_to_routerlist() really needs to free not-added routers.
|
20 years ago |
Nick Mathewson
|
7643c5254c
Fix an annoying rep violation bug
|
20 years ago |
Nick Mathewson
|
e594ce92fe
Start making directory caches retain old routerinfo_t. The code to remove old ones is definitely some textbook C problem.
|
20 years ago |