Nick Mathewson
|
23864ad423
Try to hunt down a few more leaks
|
20 years ago |
Nick Mathewson
|
5333a3b838
fix a small filename leak
|
20 years ago |
Nick Mathewson
|
8408006318
fix a memory leak on exit in routerlist.c
|
20 years ago |
Nick Mathewson
|
fc3c0197f9
Resolve several DOCDOCs. Make non-mirrors only launch routerdesc downloads when they have more than 16 router descriptors to download, or when 10 minutes have passed since the last download.
|
20 years ago |
Roger Dingledine
|
8fc9330686
fix typo
|
20 years ago |
Nick Mathewson
|
abb8576538
But, of course, mirrors should get the most up-to-date server in any case.
|
20 years ago |
Nick Mathewson
|
b726507d36
Log even less verbosely. Also, do not download old (frequently-updating) servers more than once every 2 hours.
|
20 years ago |
Nick Mathewson
|
18a0a0e458
Oops. It looks like some old GCCs dislike #if inside a macro argument.
|
20 years ago |
Nick Mathewson
|
c345dab3bd
Fix logic error (people who ask authorities should never split; others should always split). Also, fix timing error in main.c so retries really happen.
|
20 years ago |
Nick Mathewson
|
a1f1c4bf6b
Re-enable autosplitting, but authorities and mirrors should not do it, and make the cutoff higher than 1.
|
20 years ago |
Nick Mathewson
|
f995edd516
Fix at least one overzealous download bug. (tor_malloc_zero new local_routerstatus_t objs); add a pile of logs back in; probe every 10sec; never autolaunch on failure. Let us see if this works better.
|
20 years ago |
Nick Mathewson
|
9050480339
Fix some compiler warnings
|
20 years ago |
Roger Dingledine
|
2d6b36a001
get rid of a noisy debug log
|
20 years ago |
Nick Mathewson
|
cdc912714e
I love the smell of C in the morning. Make router-download rules smarter (download more so long as we dont duplicate existing requests; relaunch at staggered intervals); relaunch one a minute or on failure; reset 60 minutes; always open 3 requests if we can; add authority opinion to networkstatus; make naming rule correct. There is a remaining bug where we retry servers too quickly; We need to look at that harder.
|
20 years ago |
Nick Mathewson
|
6693031947
Use a separate type for "local view of router status". Also, even though I told arma there was no need, replace an ugly O ( n lg n ) algorithm with a nice O ( n ) algorithm when stepping through servers. Some ugliness is just too bad to stand.
|
20 years ago |
Nick Mathewson
|
72915546cd
Only check versions from versioning authdirs.
|
20 years ago |
Nick Mathewson
|
20b9111266
Implement new version handling code.
|
20 years ago |
Nick Mathewson
|
837b223c8c
remove some debugging garbage
|
20 years ago |
Nick Mathewson
|
283032960d
Make give-up-on-failure actually work: it seems the servers gave me a real test case.
|
20 years ago |
Nick Mathewson
|
d118d5069a
Prevent a "try forever to download an unobtainable descriptor" bug. Still remaining: the "give up forever" bug.
|
20 years ago |
Nick Mathewson
|
87f6d526fe
Refactor new directory code a bit. Keep a big list of rolled-up router status info, including # of download failures (not yet used). Update this list from networkstatuses when they arrive, then update routers from this list. Only download 128 routers at a time, to avoid gargantuan URLs.
|
20 years ago |
Nick Mathewson
|
1fbe499bfe
Remove a bunch of #if0d code that I no longer need to look at.
|
20 years ago |
Nick Mathewson
|
6d15a73548
Resolve/expand some XXXXs and improve a log message or two
|
20 years ago |
Nick Mathewson
|
538740e362
Fix the never-marked-anything-as-running bug. Now Tor builds circuts again. Woo.
|
20 years ago |
Nick Mathewson
|
1a786a297f
Fix the confusing bug where we were downloading only the first n/2-1 of the servers we actually wanted.
|
20 years ago |
Nick Mathewson
|
05bab28c7d
Add some (notice, for now) log messages that imply confusing things are happening.
|
20 years ago |
Nick Mathewson
|
e72e76cad6
Make authdirs smarter. Reject/invalidate by key and IP. Remember that not every authdir has to be a naming authdir.
|
20 years ago |
Nick Mathewson
|
ed21abfe87
And some documentation before bed.
|
20 years ago |
Nick Mathewson
|
b70c229f6e
make some functions static; clean dead networkstatus entries more often.
|
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 |