Roger Dingledine
|
9c67ae34f1
overall cleanup and streamlining and doccing
|
19 years ago |
Nick Mathewson
|
9b4aa8d2ab
Implement all the easy bits of the new control protocol
|
19 years ago |
Nick Mathewson
|
f9f09f1c5e
Start implementing framework for revised control spec.
|
19 years ago |
Roger Dingledine
|
91b1fb7ff7
some more cleaning and docing
|
19 years ago |
Nick Mathewson
|
232861ba42
Docment or add DOCDOC comments to undocumented functions in src/or. Make function definition format uniform.
|
19 years ago |
Roger Dingledine
|
2587fa09f9
move more docs into our code
|
19 years ago |
Roger Dingledine
|
fcd0fc3364
flesh out the source file descriptions for doxygen
|
19 years ago |
Nick Mathewson
|
0831823763
Change end-of-file NLNL convention. It turns out arma I and I agree.
|
19 years ago |
Roger Dingledine
|
d922fa7b10
fix another underflow in keeping stats
|
19 years ago |
Nick Mathewson
|
87caad5445
Fix an underflow in buffer use conting.
|
19 years ago |
Nick Mathewson
|
b0538591c7
Reset buf->highwater every time buf_shrink is called, not just on suffessful shrink.
|
19 years ago |
Roger Dingledine
|
4c43789435
Some play code to throw away old buffers sometimes rather
|
19 years ago |
Nick Mathewson
|
baa10cbbfa
Instrument buffers.c and rephist.c memory usage
|
19 years ago |
Roger Dingledine
|
5265bbd2b8
first iteration of scrubbing sensitive strings from logs.
|
19 years ago |
Nick Mathewson
|
8b9ae25224
Change some >=s to >s in buf_resize, so that we do not denormalize buffers on resize.
|
19 years ago |
Nick Mathewson
|
14bac4dad4
Elaborate on buf_shrink comment.
|
19 years ago |
Roger Dingledine
|
aa6bcd50ca
comment buf_shrink
|
19 years ago |
Nick Mathewson
|
ad547cbb8c
Correct and simplify buf_shrink logic
|
19 years ago |
Nick Mathewson
|
d6a6c8785b
When removing all bytes from a buffer, reset buf->cur=buf->mem
|
19 years ago |
Nick Mathewson
|
a312ce1d3b
Change buffer shrinking strategy: only try to shrink once every 3 minutes. Do not try to read over buffer size unless buffer is nearly empty.
|
19 years ago |
Nick Mathewson
|
9c683c7613
Make buffer shrinking algorithm a little smarter.
|
19 years ago |
Nick Mathewson
|
fe65e57ca1
Re-do fragmented control message handling to work with new buf_t system.
|
19 years ago |
Nick Mathewson
|
d0a9a8bdd3
Appease VC7. It has a strangely puritanical attitude about what programmers are allowed to do a consenting void*.
|
19 years ago |
Nick Mathewson
|
53607d3bb3
Turn SENTINELS back on; give NOINLINE a name and turn it off.
|
19 years ago |
Roger Dingledine
|
4c4a14e3cb
turn off the mongo debugging stuff, for performance tests
|
19 years ago |
Nick Mathewson
|
52376dc9e8
Rename buf->start to buf->cur; fix bug in read_to_buf; still debug with paranoia.
|
19 years ago |
Nick Mathewson
|
746768df5d
Add even more debugging code; temporarily disable inlines in buffers.c
|
19 years ago |
Roger Dingledine
|
2a7aec0ffd
fix function prototype, fix typo
|
19 years ago |
Nick Mathewson
|
ecc76d8245
Avoid overflow on wrapping a TLS read.
|
19 years ago |
Nick Mathewson
|
9ba2dd7ea1
Clean/renormalize whitespace
|
19 years ago |