Age | Commit message (Collapse) | Author |
|
svn:r8434
|
|
now, we allow multiple servers with the same name in the routerlist even if that name is reserved, but we check whether names are reserved when we try to look up routers by nickname. This is a minor security fix. This makes router_add_to_routerlist O(1). This is a backport candidate.
svn:r8433
|
|
routers (on router insert): we already have a map for that. (We need to add an index field to routerinfo_t so we can figure out which point in the routerlist to replace.) Also, add a comment to routerlist.c; arma, please advise?
svn:r8432
|
|
prediction for NULL returns, and skip the malloc(0) check on platforms where malloc(0) returns a pointer.
svn:r8431
|
|
crypto_pk_cmp_keys(); speed up find_whitespace a lot (8x for me) by using a switch statement. This should speed parsing a lot of routers at once by a lot.
svn:r8430
|
|
svn:r8429
|
|
svn:r8428
|
|
svn:r8427
|
|
svn:r8416
|
|
minutes, trying to establish reachability of my unreachable server.
svn:r8415
|
|
Second, if you give an unknown purpose, it would say:
552 Unknown purpose "purpose=foo"
Now it just says
552 Unknown purpose "foo"
svn:r8412
|
|
Move more todo items around
svn:r8411
|
|
Add some client performance XXXXs; try to move some common case tests higher on their decision trees.
svn:r8410
|
|
More TODO work; tenatively mark assignments.
svn:r8409
|
|
svn:r8408
|
|
where if circuits fail quickly, we'll fail a lot of them very
quickly and not retry for a while. so be it.
svn:r8407
|
|
svn:r8406
|
|
Clean up libevent difmingw f problems noticed by mikec.
svn:r8404
|
|
least 6 hours at your previous address.
svn:r8403
|
|
(we avoid simply by not doing any new tests when we change IPs --
it looks like we retain our previous bandwidth estimates, so there's
no need to do new exercise. though in some cases new exercises may
still be useful. one day we'll do something smarter.)
svn:r8402
|
|
svn:r8401
|
|
svn:r8400
|
|
we're reachable. Spread them over 4 circuits, so hopefully a few will
be fast. This exercises our bandwidth and bootstraps us quicker.
svn:r8399
|
|
router_set_networkstatus() gets a list of status documents we asked for from
connection_dir_client_reached_eof(). However, as a cache we (sometimes?) just
ask for "all". router_set_networkstatus() would freak out over that, meaning
it would log a warning and drop the status document instead of caching it
as it is supposed to. Now we let router_set_networkstatus() know if the
data comes from an all-request so it can do the right thing.
svn:r8398
|
|
Minor documentation fix
svn:r8397
|
|
Implement a smartlist_uniq() that will with luck not end the world.
svn:r8396
|
|
Patch from steve hildrey: Generate network status correctly on non-versioning dirservers
svn:r8395
|
|
svn:r8393
|
|
Add smartlist_uniq() to TODO list
svn:r8392
|
|
Add a comment
svn:r8391
|
|
Remove duplicates from MyFamily
svn:r8390
|
|
Fix some dead code that is on occasion useful
svn:r8389
|
|
House style for no-args functions is old-style C, not C++
svn:r8388
|
|
Do not graciously increase the size to be mmaped if the current size already is
at a page_size boundary. This is important since if a file has a size of zero
and we mmap() it with length > 0, then accessing the mmaped memory area causes
a bus error. However, if we pass a length of 0 to mmap() it will return with -1
and things work from there.
svn:r8387
|
|
Refactor dirserv_parse_fingerprint_file(fname) into dirserv_load_fingerprint_file():
There is not need to put together the path to the approved-routers file in more than one place.
svn:r8386
|
|
svn:r8385
|
|
svn:r8384
|
|
Try to split off the mingw portions of the libevent diff so we can send them to niels separately. Adding two patches: one that applies against 1.1b; one that applies against the libevent svn trunk.
svn:r8383
|
|
As long as we are being pedantic, we may as well be extra-pedantic.
svn:r8376
|
|
svn:r8375
|
|
Set svn:keywords
svn:r8374
|
|
Add non-dist utility for weasel
svn:r8373
|
|
svn:r8371
|
|
Avoid crash when telling controller stream-status and a stream is detached. Fixes bug 334. Backport candidate.
svn:r8370
|
|
mingw. Relies upon magic to actually work right now.
svn:r8361
|
|
a client, so you can become a server more smoothly.
svn:r8359
|
|
svn:r8358
|
|
svn:r8357
|
|
Remove some completed items from TODO; defer a bunch of stuff from 0.1.2.x (which we want to have an RC for by the end of October)
svn:r8356
|
|
fix error code when "getinfo dir/status/" fails.
svn:r8355
|