| Commit message (Collapse) | Author | Age |
| ... | |
| |
|
|
|
|
| |
consensus.
svn:r13080
|
| |
|
|
|
|
|
| |
authority.
svn:r13079
|
| |
|
|
| |
svn:r13078
|
| |
|
|
|
|
|
| |
fetch one descriptor and then we don't like it
svn:r13077
|
| |
|
|
|
|
|
| |
in themselves again. bug experienced by karsten.
svn:r13076
|
| |
|
|
| |
svn:r13075
|
| |
|
|
| |
svn:r13074
|
| |
|
|
| |
svn:r13067
|
| |
|
|
|
|
|
| |
Change set_current_consensus interface to take a flags variable. Do not try to fetch certificates until after we have tried loading the fallback consensus. Should fix bug 583.
svn:r13058
|
| |
|
|
|
|
|
| |
More messing about with bug 557 issues: do not let bizarre settings for myfamily or contactinfo muck with generated router descriptors.
svn:r13057
|
| |
|
|
|
|
|
| |
Bugfix on fix for 557: Make values containing special characters work right with getconf, setconf, and saveconf. Document this in control-spec.txt
svn:r13056
|
| |
|
|
|
|
|
| |
Consequence of fix for 539: when a client gets a 503 response with a nontrivial body, pretend it got a 200 response. This lets clients use information erroneously sent to them by old buggy servers.
svn:r13054
|
| |
|
|
|
|
|
| |
Remove some dead code.
svn:r13053
|
| |
|
|
|
|
|
| |
Fix bug 582: decref the idcert when we add it to the store.
svn:r13052
|
| |
|
|
|
|
|
|
| |
fallback consensus. nick, can you take a closer look at this,
and add a changelog entry if it's a valid fix?
svn:r13050
|
| |
|
|
| |
svn:r13048
|
| |
|
|
| |
svn:r13045
|
| |
|
|
|
|
|
| |
Add a reverse mapping from SSL to tor_tls_t*: we need this in order to do a couple of things the sensible way from inside callbacks. Also, add a couple of missing cases in connection_or.c
svn:r13040
|
| |
|
|
|
|
|
| |
Another test for the increasingly bad check-spaces style checker to check: #else\n#if is almost a sure sign of a failure to use #elif. Fortunately, we only did that 3 times.
svn:r13039
|
| |
|
|
|
|
|
| |
Missing documentation in container.h
svn:r13038
|
| |
|
|
|
|
|
| |
its hsdir status
svn:r13037
|
| |
|
|
|
|
|
| |
Fix bug 579: Count DNSPort and hidden services when checking whether Tor is going to do anything. Change "no configured ports" from fatal to warning.
svn:r13036
|
| |
|
|
|
|
|
| |
fix whitespace
svn:r13035
|
| |
|
|
|
|
|
| |
add init_logging calls to tor_gencert and tor_resolve
svn:r13028
|
| |
|
|
|
|
|
| |
Allow config values in quotes to contain special characters, with full C escape syntax. With tests. Addresses bug 557.
svn:r13021
|
| |
|
|
|
|
|
| |
Push the strdups used for parsing configuration lines into parse_line_from_string(). This will make it easier to parse more complex value formats, which in turn will help fix bug 557
svn:r13020
|
| |
|
|
|
|
|
| |
Fix bug 575: protect the list of logs with a mutex. I couldn't find any appreciable change in logging performance on osx, but ymmv. You can undef USE_LOG_MUTEX to see if stuff gets faster for you.
svn:r13019
|
| |
|
|
|
|
|
| |
Bugfix for bug 569: do not try to download nonexistant certificates with signing key 000000000000000.
svn:r13018
|
| |
|
|
|
|
|
| |
Use reference-counting to avoid allocating a zillion little addr_policy_t objects. (This is an old patch that had been sitting on my hard drive for a while.)
svn:r13017
|
| |
|
|
| |
svn:r13014
|
| |
|
|
|
|
|
| |
Patch from Tup: make NS events work again.
svn:r13009
|
| |
|
|
|
|
|
| |
Note an unfreed cert
svn:r13008
|
| |
|
|
|
|
|
| |
Make HTTP-processing code in buffers.c faster: do not pull up 50K of text into the first chunk if the headers end earlier than that.
svn:r13006
|
| |
|
|
|
|
|
| |
Incomplete code to avoid doing needless pull-ups on HTTP. Also, use memstr instead of strstr to find the content-length header.
svn:r13005
|
| |
|
|
|
|
|
| |
Try even harder not to allocate chunks bigger than MAX_CHUNK_ALLOC.
svn:r13003
|
| |
|
|
|
|
|
| |
Remove need for buf_pullup in fetch_line_from_buf().
svn:r13002
|
| |
|
|
|
|
|
| |
Fix compilation with dmalloc
svn:r12998
|
| |
|
|
|
|
|
| |
Exciting new entries in buf_dump_freelist_sizes() to make sure our freelist sizes are reasonable.
svn:r12996
|
| |
|
|
|
|
|
| |
Fix windows compile error
svn:r12995
|
| |
|
|
|
|
|
| |
And clean up an assertion failure.
svn:r12993
|
| |
|
|
|
|
|
| |
Apparently loops work better when you actually increment/decrement the loop variable. Who knew?
svn:r12992
|
| |
|
|
|
|
|
| |
Actually trim freelists.
svn:r12991
|
| |
|
|
|
|
|
| |
Fix a nasty infinite loop in flush_buf[_tls].
svn:r12990
|
| |
|
|
|
|
|
| |
More tweaks on 0-byte TLS writes.
svn:r12989
|
| |
|
|
|
|
|
| |
Oops. flush_buf_tls can request more than the requested number of bytes. When that happens, do not let the size_t sz wrap around.
svn:r12988
|
| |
|
|
|
|
|
| |
Peacetime managed to run overnight in paranoia mode. Disabling paranoia, so that buffers.c can be a little speedy again.
svn:r12987
|
| |
|
|
| |
svn:r12985
|
| |
|
|
|
|
|
| |
Fix in flush_buf_tls: it is okay to flush an empty buffer, since we may have a partial TLS record pending.
svn:r12984
|
| |
|
|
|
|
|
| |
Here, have some terribly clever new buffer code. It uses a mbuf-like strategy rather than a ring buffer strategy, so it should require far far less extra memory to hold any given amount of data. Also, it avoids access patterns like x=malloc(1024);x=realloc(x,1048576);x=realloc(x,1024);append_to_freelist(x) that might have been contributing to memory fragmentation. I've tested it out a little on peacetime, and it seems to work so far. If you want to benchmark it for speed, make sure to remove the #define PARANOIA; #define NOINLINE macros at the head of the module.
svn:r12983
|
| |
|
|
|
|
|
| |
Bump version to 0.2.0.15-alpha-dev
svn:r12982
|