Age | Commit message (Collapse) | Author |
|
Conflicts:
src/common/test.h
src/or/test.c
|
|
|
|
Some *_free functions threw asserts when passed NULL. Now all of them
accept NULL as input and perform no action when called that way.
This gains us consistence for our free functions, and allows some
code simplifications where an explicit null check is no longer necessary.
|
|
|
|
The trick is that we should assert that our next_mem pointer has not
run off the end of the array _before_ we realign the pointer, since
doing that could take us over the end... but only if we're on a system
where malloc() gives us ram in increments smaller than sizeof(void*).
|
|
This might detect some possible causes of bug 930, and will at least
make sure we aren't doing some dumb memory-corruption stuff with the heap
and router-parsing.
|
|
|
|
|
|
unmapped ram, but you also must not copy it. From lark.
svn:r19095
|
|
Bug was harmless for now, I think.
svn:r19094
|
|
svn:r19074
|
|
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
|
|
svn:r17741
|
|
svn:r17739
|
|
svn:r17734
|
|
comments so that they will get recognized as doxygen.
svn:r17729
|
|
svn:r17662
|
|
thing.
svn:r17195
|
|
Oops. Fix one last memarea freelist bug.
svn:r14322
|
|
Fix behavior of memarea freelists.
svn:r14321
|
|
Oops. It turns out that there are some subtle differences between >= and <.
svn:r14320
|
|
Use a freelist to hold a few recent memarea chunks. We do a kazillion memarea allocs and frees; that cant be good for us.
svn:r14319
|
|
Add code to debug memory area size. Use results of this code to set a couple of area sizes more sanely.
svn:r14201
|
|
Fix whitespace
svn:r14197
|
|
Add new stacklike, free-all-at-once memory allocation strategy. Use it when parsing directory information. This helps parsing speed, and may well help fragmentation some too. hidden-service-related stuff still uses the old tokenizing strategies.
svn:r14194
|