Roger Dingledine
|
7f01dc9c1c
whitespace/tab fixes
|
18 年之前 |
Roger Dingledine
|
05d0b70573
Get rid of the router_retry_connections notion. Now routers no longer
|
18 年之前 |
Nick Mathewson
|
475eb5d6fe
Apparent 311 fix: apparently passing Z_FINISH an empty string is problematic.
|
18 年之前 |
Nick Mathewson
|
b82dfdd4a3
Make some more verbose gcc warnings go away.
|
18 年之前 |
Nick Mathewson
|
52b8dfa95a
Fix a bunch of spaces.
|
18 年之前 |
Nick Mathewson
|
b7910202a3
Next batch of memory miserdom: mmap cached-routers file. This is sure to break somewhere.
|
18 年之前 |
Nick Mathewson
|
e2697a62ac
When requesting or serving resources via fingerprint/digest, request and respond in-order, removing duplicates.
|
18 年之前 |
Peter Palfrader
|
7b6c435066
<nickm> ooh, that log shouldn't be there. can you take it out?
|
18 年之前 |
Nick Mathewson
|
0799154ae1
Fix bug in networkstatus spooling: spool more than the first networkstatus.
|
18 年之前 |
Nick Mathewson
|
0e09b26112
Fishy, but harmless.
|
18 年之前 |
Roger Dingledine
|
ef78e4245f
add a note for nick to fix
|
18 年之前 |
Nick Mathewson
|
a9e1a4c33c
Ah. We need a new zlib_state for each networkstatus we spool out.
|
18 年之前 |
Nick Mathewson
|
4283b81a48
Start spooling v2 networkstatus docs as well.
|
18 年之前 |
Nick Mathewson
|
3f7f069a05
Fix a tricky crash: making the_directory heap-allocated (so we could refcount it and have multiple instances as neeeded) means that calls to dirserv_regenerate_directory could invalidate the auth_dir value passed to dirserv_pick_cached_dir_obj. Big fun.
|
18 年之前 |
Nick Mathewson
|
2552d5e60f
Fix an assert that still isnt the assert we are hunting.
|
18 年之前 |
Nick Mathewson
|
f1993b8b30
Become capable of noticing that we are done sending a directory.
|
18 年之前 |
Nick Mathewson
|
537104c908
write_to_buf != connection_write_to_buf. Also, add a connection_write_to_buf_zlib wrapper that sucks.
|
18 年之前 |
Nick Mathewson
|
4d02ccfed8
Stop trying to refresh when we are out of data.
|
18 年之前 |
Nick Mathewson
|
347bcec84a
Fix a couple of bugs in last patch.
|
18 年之前 |
Nick Mathewson
|
c58cc8c16c
add coverage for a default case
|
18 年之前 |
Nick Mathewson
|
b1a8b7869a
Oops. conn->requested_resource is client only.
|
18 年之前 |
Nick Mathewson
|
1d9923da7c
Instead of adding servers and v1 directories to buffers en masse, directory servers add them on the fly as their outbufs are depleted. This will save ram on busy dirservers.
|
18 年之前 |
Roger Dingledine
|
b4e415ba3c
now we can tell dirserv_dump_directory_to_string() whether we want
|
18 年之前 |
Nick Mathewson
|
853e2d99b6
Add a new warning to our "warn a lot" list: unused parameters. This means we have to explicitly "use" unuseds, but it can catch bugs. (It caught two coding mistakes so far.)
|
18 年之前 |
Roger Dingledine
|
f6ff3e6f0e
directory authorities should be more tolerant of failed reachability
|
18 年之前 |
Roger Dingledine
|
0cee3e1fc7
if the bottom eighth of the servers by bandwidth is really crummy,
|
18 年之前 |
Nick Mathewson
|
e258276c2b
Change a dumb interface. Also, increment trusted_dir_server_t.n_networkstatus_failures when an all.z download fails entirely or partially.
|
18 年之前 |
Roger Dingledine
|
0871f4ef90
Remove about 30% of the v1 directory bulk by not including down or
|
18 年之前 |
Roger Dingledine
|
b7cadc0db5
If you're not a versioning dirserver, don't put the string
|
18 年之前 |
Roger Dingledine
|
24b2e0530a
clean up the log lines more, and note a future work.
|
18 年之前 |