| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
|
| |
The subversion $Id$ fields made every commit force a rebuild of
whatever file got committed. They were not actually useful for
telling the version of Tor files in the wild.
svn:r17867
|
|
|
|
|
|
| |
we ever did.
svn:r17827
|
|
|
|
| |
svn:r17734
|
|
|
|
|
|
| |
patch.
svn:r17686
|
|
|
|
|
|
| |
(The unfixed ones are being downgraded to regular XXXs mainly on the rationale that they don't seem to be exploding Tor, and they were apparently not showstoppers for 0.2.0.x-final.)
svn:r17682
|
|
|
|
|
|
| |
anywhere, and remove the ones that we really want gone.
svn:r17651
|
|
|
|
|
|
| |
had thought: it gave bus errors when messing with var-cell headers. Maybe this patch will fix bug 862.
svn:r17262
|
|
|
|
|
|
| |
mappings are used, so that they expire a while after their last use, not a while after their creation.
svn:r17004
|
|
|
|
| |
svn:r16909
|
|
|
|
|
|
| |
easier to free memory on failing tests, in order to suppress scanner warnings and to make dmalloc() usable with tests.
svn:r16816
|
|
|
|
| |
svn:r16476
|
|
|
|
|
|
| |
struct is _not_ sizeof(st)-1; compilers add alignment. Problem spotted by rovv. Backport candidate.
svn:r16302
|
|
|
|
| |
svn:r15228
|
|
|
|
|
|
|
| |
Lower number of syscalls used to write data to ordinary sockets through use of writev. Disabled till I have time to test it.
svn:r15133
|
|
|
|
|
|
|
| |
the socks5 protocol better
svn:r14552
|
|
|
|
| |
svn:r13808
|
|
|
|
|
|
|
| |
More 64-to-32 fixes.
svn:r13672
|
|
|
|
|
|
|
| |
Fix all -Wshorten-64-to-32 warnings that appear on my macbook.
svn:r13662
|
|
|
|
|
|
|
| |
Fix a bug that kept buf_find_string_offset from finding a string at the very end of the buffer. Add a unit test for this. Also, do not save a pointer to a chunk that might get reallocated by buf_pullup().
svn:r13635
|
|
|
|
|
|
|
| |
Fix assertion when searching for a string in an empty chunk.
svn:r13634
|
|
|
|
|
|
|
| |
Log message to try to detect error in buffers.c
svn:r13633
|
|
|
|
|
|
|
| |
add a flag to suppress overwriting the certificates file with new certificates, so we do not overwrite all certs when starting as an authority.
svn:r13630
|
|
|
|
|
|
|
| |
Suppress signed/unsigned comparison warnings in buffers.c
svn:r13624
|
|
|
|
|
|
|
| |
fix bufs in buf_pos_t implementation.
svn:r13623
|
|
|
|
|
|
|
| |
Add asserts and refactor some comparisons in order to fix some veracode-identified issues. Note a bug in buffers.c
svn:r13618
|
|
|
|
| |
svn:r13594
|
|
|
|
|
|
|
| |
Fix all but 2 DOCDOC items; defer many XXX020s (particularly those where fixing them would fix no bugs at the risk of introducing some bugs).
svn:r13529
|
|
|
|
|
|
|
| |
Re-tune mempool parametes based on testing on peacetime: use smaller chuncks, free them a little more aggressively, and try very hard to concentrate allocations on fuller chunks. Also, lots of new documentation.
svn:r13484
|
|
|
|
|
|
|
| |
Add a bunch more code documentation; change the interface of fetch_var_cell_from_buf() so it takes the current link protocol into account and can't get confused by weird command bytes on v1 connections.
svn:r13430
|
|
|
|
| |
svn:r13412
|
|
|
|
|
|
|
| |
Add more documentation; change the behavior of read_to_buf_tls to be more consistent. Note a longstanding problem with current read/write interfaces.
svn:r13407
|
|
|
|
|
|
|
| |
Fix a bunch of DOCDOC items; document the --quiet flag; refactor a couple of XXXX020 items.
svn:r13405
|
|
|
|
|
|
|
| |
Fix/downgrade some more XXX020s.
svn:r13397
|
|
|
|
|
|
|
| |
Add a --disable-buffer-freelists configure argument to build without buffer RAM chunk freelists, so we can benchmark the impact of this.
svn:r13121
|
|
|
|
|
|
|
| |
fix whitespace
svn:r13035
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
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
|