Nick Mathewson
|
4283b81a48
Start spooling v2 networkstatus docs as well.
|
19 anos atrás |
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.
|
19 anos atrás |
Nick Mathewson
|
2552d5e60f
Fix an assert that still isnt the assert we are hunting.
|
19 anos atrás |
Roger Dingledine
|
37c441d96f
correct a function comment in compute_preferred_testing_list()
|
19 anos atrás |
Nick Mathewson
|
f1993b8b30
Become capable of noticing that we are done sending a directory.
|
19 anos atrás |
Nick Mathewson
|
5c0d7fb016
Resolve control flow warning.
|
19 anos atrás |
Nick Mathewson
|
0932f463ff
Ah. That seems to work.
|
19 anos atrás |
Nick Mathewson
|
5ba72d0ae5
another write_to_buf_zlib fix.
|
19 anos atrás |
Nick Mathewson
|
b5c599412f
Backport candidate: implement the "is this uptime change cosmetic" test properly.
|
19 anos atrás |
Nick Mathewson
|
a9cffd2ff0
Re-enable buffer RAM guard values.
|
19 anos atrás |
Nick Mathewson
|
11c2e97d51
Another _zlib fix.
|
19 anos atrás |
Nick Mathewson
|
337ad6420b
Make connection_write_to_buf_zlib set outbuf_flushlen right.
|
19 anos atrás |
Nick Mathewson
|
537104c908
write_to_buf != connection_write_to_buf. Also, add a connection_write_to_buf_zlib wrapper that sucks.
|
19 anos atrás |
Nick Mathewson
|
10b7b57616
Temporarily disable sentinels on buffers
|
19 anos atrás |
Nick Mathewson
|
9376d901ed
make zlib buffer function set buf_highwater properly
|
19 anos atrás |
Nick Mathewson
|
4d02ccfed8
Stop trying to refresh when we are out of data.
|
19 anos atrás |
Nick Mathewson
|
b9013cbe98
And actually check the url when it exists. that might work better.
|
19 anos atrás |
Nick Mathewson
|
c374340c70
That dir_refresh_src fix will only work if I enable it.
|
19 anos atrás |
Nick Mathewson
|
347bcec84a
Fix a couple of bugs in last patch.
|
19 anos atrás |
Nick Mathewson
|
c58cc8c16c
add coverage for a default case
|
19 anos atrás |
Nick Mathewson
|
b1a8b7869a
Oops. conn->requested_resource is client only.
|
19 anos atrás |
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.
|
19 anos atrás |
Nick Mathewson
|
73ada60d64
remove non-germane comment
|
19 anos atrás |
Nick Mathewson
|
8fa8616ec7
Add tests for several of the more recently committed functions.
|
19 anos atrás |
Nick Mathewson
|
f83a628a76
perhaps the reason I rail against cut-and-paste programming so vehemently is that I am so bad at it.
|
19 anos atrás |
Nick Mathewson
|
cd38511a1e
Part of incremental encryption logic for buffers: there is a subtle yucky point documented in a comment.
|
19 anos atrás |
Nick Mathewson
|
630e9cd510
Add some incremental encryption wrappers to torgzip code
|
19 anos atrás |
Nick Mathewson
|
af8096815e
Add a memdup function to util
|
19 anos atrás |
Nick Mathewson
|
78428dccdb
Add smartlist_reverse and smartlist_pop_last.
|
19 anos atrás |
Nick Mathewson
|
7a3ac5ee0d
Clarify mmap and memory-use hacks.
|
19 anos atrás |