Nick Mathewson
|
c5ee3e961e
Reorganize some quick-and-dirty code to find out what openssl stuff is leaking, using dmalloc.
|
20 years ago |
Nick Mathewson
|
9e54e2e293
free helper node status info on shutdown
|
20 years ago |
Nick Mathewson
|
23864ad423
Try to hunt down a few more leaks
|
20 years ago |
Nick Mathewson
|
de198d800b
Never call free() on tor_malloc()d memory. This is unlikely to be our current leak, but it may help dmalloc work.
|
20 years ago |
Nick Mathewson
|
92451f74a8
Reformat inconsistent function declarations.
|
20 years ago |
Roger Dingledine
|
f8d430653e
better cleanups as i figure out what's going on
|
20 years ago |
Nick Mathewson
|
06625e779d
Decouple router downloads from old directory downloads entirely
|
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
|
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
|
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
|
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
|
6d15a73548
Resolve/expand some XXXXs and improve a log message or two
|
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 |
Nick Mathewson
|
d4e0af7822
Fix a bunch of log messages. Deprecate some routerlist fields; remove others, and status_set_at from routerinfo_t. Compress routerlist.c cleanup functions. Update cached networkstatus mtime when we download the same one twice. Change some interfaces.
|
20 years ago |
Nick Mathewson
|
e3adcbdb95
Big commit: clients start downloading and using network-statuses.
|
20 years ago |
Nick Mathewson
|
7c6679d8dc
Add new config.c function to set options that can fail, and roll back if they do. This should solve the setconf-an-impossible-port bug.
|
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 |
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
|
5c6c88e76d
More stuff for new directories.
|
20 years ago |
Roger Dingledine
|
33b2abbc90
remove redundant logs about unreachable servers
|
20 years ago |
Nick Mathewson
|
0e649ac60a
Remove descriptor_list and use routerlist instead. Make directories manage routerlist a little better.
|
20 years ago |
Nick Mathewson
|
cf90a36dd1
Add quotes around filenames in src/or
|
20 years ago |
Roger Dingledine
|
86f85f240c
be much more conservative about logging reachability complaints.
|
20 years ago |
Roger Dingledine
|
a120cc20c1
Dirservers now do their own external reachability testing of each
|
20 years ago |
Roger Dingledine
|
675f6b5f3c
that comma was important
|
20 years ago |
Roger Dingledine
|
ab112ca6ad
and don't print the null string here either
|
20 years ago |
Roger Dingledine
|
676b330eb2
Make DirPostPeriod config option obsolete.
|
20 years ago |
Roger Dingledine
|
d928411acd
change log entry for unreachability to explicitly suggest /etc/hosts
|
20 years ago |
Nick Mathewson
|
dc09c7fc73
Implement new (reduced-frequency) upload rules. arma, you should review this.
|
20 years ago |