Nick Mathewson
|
d45badd9f4
Add a missing return
|
20 years ago |
Nick Mathewson
|
9c2ca40df3
Unify our "figure out which fingerprints we were downloading" code.
|
20 years ago |
Nick Mathewson
|
05bab28c7d
Add some (notice, for now) log messages that imply confusing things are happening.
|
20 years ago |
Nick Mathewson
|
ed21abfe87
And some documentation before bed.
|
20 years ago |
Nick Mathewson
|
b16048917c
Stop downloading directories and download routers instead. This still needs some work, but at last clients are finally on the new architecture. Next comes the tuning and bugfixing.
|
20 years ago |
Nick Mathewson
|
e3adcbdb95
Big commit: clients start downloading and using network-statuses.
|
20 years ago |
Roger Dingledine
|
ca727ba6e1
bugfix: when we try to determine the reachability of our dirport,
|
20 years ago |
Nick Mathewson
|
4efa652a98
add docs, fix whitespace, and make ANY rule in routerparse a little tighter.
|
20 years ago |
Roger Dingledine
|
63bb27f19d
be more thorough about noticing when a directory request has failed:
|
20 years ago |
Nick Mathewson
|
3dc5e77b58
Numerous changes to move towards client-side v2 directories.
|
20 years ago |
Roger Dingledine
|
89d516f95c
clean up the log entry for when a server posts a server descriptor that
|
20 years ago |
Nick Mathewson
|
0de64f224e
Warn in more detail when network-status serving and fetching fails. Also, fix a small leak.
|
20 years ago |
Roger Dingledine
|
2065c5f7aa
when printing x-forwarded-by headers, don't print the \r
|
20 years ago |
Nick Mathewson
|
bd911d8612
Fix segfault and memleak when getting many compressed server descs.
|
20 years ago |
Nick Mathewson
|
659491bbc6
Fix some messages that say "failing".
|
20 years ago |
Nick Mathewson
|
d410c49965
Clean up some more fingerprint-checking logic
|
20 years ago |
Nick Mathewson
|
9df4716ac3
make it work correctly when we download multiple network-status objects.
|
20 years ago |
Nick Mathewson
|
4528bbfd9f
Resolve some XXXs. Add some others.
|
20 years ago |
Nick Mathewson
|
18e4d78354
Fix an assert in directory.c. Check received network-status objects against the list we expected to get. Do not let anyone else update our network-status object.
|
20 years ago |
Nick Mathewson
|
059148f588
Only caches download network-status for now, and they use a different strategy. Add an element to connection_t to remember what we are downloading, and a function to recognize our own fingerprint.
|
20 years ago |
Roger Dingledine
|
465aec04c1
when reporting results from a dirserver fetch/post, tell us the
|
20 years ago |
Nick Mathewson
|
1e2f1679c8
Fix some more bugs; add a temporary log.
|
20 years ago |
Nick Mathewson
|
ff9452e900
Clean up should-i-go-to-the-dirserv logic a little: All servers with DirPorts should get their directories from the source
|
20 years ago |
Nick Mathewson
|
3a99927859
Make directory download code slightly less likely to segfault or assert.
|
20 years ago |
Nick Mathewson
|
f50ddfd4dd
Download network-status at regular intervals. The code is probably iffy, and the constants need to be renamed.
|
20 years ago |
Nick Mathewson
|
4aca47268d
Logic to launch connections for new directory types.
|
20 years ago |
Nick Mathewson
|
eac917fd6a
clean whitespace.
|
20 years ago |
Nick Mathewson
|
5c6c88e76d
More stuff for new directories.
|
20 years ago |
Roger Dingledine
|
c384fa706d
stop using the v1 rend desc format. we're going to change v1
|
20 years ago |
Roger Dingledine
|
711cad94ed
when we think a router is unreachable, pass the message back to the
|
20 years ago |