| Commit message (Collapse) | Author | Age |
|
|
|
|
|
| |
connection_write_to_buf_zlib wrapper that sucks.
svn:r6650
|
|
|
|
| |
svn:r6646
|
|
|
|
| |
svn:r6645
|
|
|
|
| |
svn:r6644
|
|
|
|
|
|
| |
servers add them on the fly as their outbufs are depleted. This will save ram on busy dirservers.
svn:r6641
|
|
|
|
| |
svn:r6629
|
|
|
|
| |
svn:r6628
|
|
|
|
|
|
| |
my scripts
svn:r6627
|
|
|
|
|
|
| |
we have to explicitly "use" unuseds, but it can catch bugs. (It caught two coding mistakes so far.)
svn:r6532
|
|
|
|
| |
svn:r6396
|
|
|
|
|
|
| |
trusted_dir_server_t.n_networkstatus_failures when an all.z download fails entirely or partially.
svn:r6345
|
|
|
|
| |
svn:r6340
|
|
|
|
|
|
|
| |
v2 authorities too. And of course they did not have a copy.
svn:r6331
|
|
|
|
|
|
|
|
|
|
| |
did not at all match its behavior, and I can't think of a case
when it should return anything other than 0.
This fix may allow getinfo dir/status/foo to work.
svn:r6285
|
|
|
|
|
|
| |
server descriptors anymore
svn:r6252
|
|
|
|
|
|
|
| |
Fix some minor bugs and memory leaks along the way.
svn:r6246
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
building.
Make the warnings about invalid and unnamed nodes scale better, and
update the text of the warnings.
Change router_have_minimum_dir_info() to only be happy when it has
enough network-statuses ("more than half") to be willing to actually
build circuits.
Not yet done: when we fail to get a networkstatus that we wanted, and
!router_have_minimum_dir_info(), we should retry it quicker than a whole
minute from now.
svn:r6227
|
|
|
|
|
|
|
|
|
| |
when they created a network status. so if nobody asked for a
network status, they would never discover that any servers are
is_running, so they could never build a circuit.
svn:r6183
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1) Surround all constants by (parens), whether we'll be using them
in a denominator or not.
2) Express all time periods as products (24*60*60), not as multiplied-out
constants (86400).
3) Comments like "(60*60) /* one hour */" are as pointless as comments
like "c = a + b; /* set c to the sum of a and b */". Remove them.
4) All time periods should be #defined constants, not given inline.
5) All time periods should have doxygen comments.
6) All time periods, unless specified, are in seconds. It's not necessary
to say so.
To summarize, the old (lack of) style would allow:
#define FOO_RETRY_INTERVAL 60*60 /* one hour (seconds) */
next_try = now + 3600;
The new style is:
/** How often do we reattempt foo? */
#define FOO_RETRY_INTERVAL (60*60)
next_try = now + RETRY_INTERVAL;
svn:r6142
|
|
|
|
| |
svn:r6135
|
|
|
|
|
|
| |
the log. Use them everywhere except for routerinfo->plaftorm, routerinfo->contact_info, and rend*.c. (need sleep now)
svn:r6087
|
|
|
|
|
|
|
| |
we can't do anything about them anyway.
svn:r6073
|
|
|
|
|
|
|
|
|
|
|
|
| |
FetchServerDescriptors and FetchHidServDescriptors for whether
to fetch server info and hidserv info or let the controller do it,
and also PublishServerDescriptor and PublishHidServDescriptors.
Add AllDirActionsPrivate undocumented option -- if you set it, you'll
need the controller to bootstrap you enough to build your first circuits.
svn:r6047
|
|
|
|
| |
svn:r6041
|
|
|
|
| |
svn:r6009
|
|
|
|
|
|
|
| |
i hope they appreciate it.
svn:r6004
|
|
|
|
|
|
|
| |
wants to hear it.
svn:r5990
|
|
|
|
|
|
|
|
| |
it's a shame that they're broken, but most people are just
confused by the warning.
svn:r5988
|
|
|
|
| |
svn:r5969
|
|
|
|
|
|
|
|
| |
is empty, don't give it to him. This way small servers can continue
to serve the directory *sometimes*, without getting overloaded.
svn:r5968
|
|
|
|
| |
svn:r5949
|
|
|
|
| |
svn:r5924
|
|
|
|
| |
svn:r5914
|
|
|
|
| |
svn:r5911
|
|
|
|
| |
svn:r5903
|
|
|
|
|
|
|
|
|
|
|
| |
to 96 (was 128 previously).
We limit this number even when we do not have a http proxy explicitly
configured as some people mistakenly believe transparent proxies are a neat
idea.
svn:r5901
|
|
|
|
|
|
|
|
| |
will pave the way for them being able to tell us to screw off
if they're busy.
svn:r5898
|
|
|
|
|
|
|
|
|
| |
Jan 18 18:42:05.671 [debug] Got data, not eof. Leaving on inbuf.
that's not very smart.
svn:r5843
|
|
|
|
|
|
| |
them lazily on disk.
svn:r5827
|
|
|
|
| |
svn:r5774
|
|
|
|
|
|
| |
when adding a rendezvous post connection. For 201, do not include a content-length 0 with a GET request.
svn:r5765
|
|
|
|
| |
svn:r5760
|
|
|
|
| |
svn:r5759
|
|
|
|
| |
svn:r5758
|
|
|
|
| |
svn:r5756
|
|
|
|
|
|
| |
in mind; remove fetch-from-authority special-case in directory_get_from_dirserver.
svn:r5741
|
|
|
|
|
|
| |
networkstatus, even when they want a compressed one. (Also, bullet-proof the logic in case we ever accidentally request a networkstatus for a non-authority.)
svn:r5740
|
|
|
|
|
|
|
| |
a base16 of the whole thing.
svn:r5678
|
|
|
|
| |
svn:r5677
|
|
|
|
|
|
| |
digest. Caches try to download all listed digests from authorities; clients try to download "best" digests from caches.
svn:r5659
|