Roger Dingledine
|
bf2be9abd7
|
Do round-robin writes of at most 16 kB per write. This might
be more fair on loaded Tor servers, and it might resolve our
Windows crash bug. It might also slow things down.
svn:r5332
|
2005-10-29 18:19:37 +00:00 |
|
Nick Mathewson
|
5d85560d9e
|
Remove last vestiges of old logging interface.
svn:r5317
|
2005-10-25 18:01:01 +00:00 |
|
Nick Mathewson
|
f9b0be526e
|
Use LD_BUG as appropriate; convert rend* and router* to new logging interface; use new circ_log_path interface
svn:r5302
|
2005-10-24 19:39:45 +00:00 |
|
Nick Mathewson
|
55f2ab9cc3
|
Migrate a few more files to domained logging
svn:r5285
|
2005-10-18 22:21:29 +00:00 |
|
Nick Mathewson
|
998cf8d622
|
Try to extract as many descriptors as possible from truncated http responses. (when DIR_PURPOSE_FETCH_ROUTERDESC)
svn:r5249
|
2005-10-14 02:26:13 +00:00 |
|
Nick Mathewson
|
ba24193ab5
|
Make doxygen marginally happier
svn:r5208
|
2005-10-06 04:33:40 +00:00 |
|
Nick Mathewson
|
de198d800b
|
Never call free() on tor_malloc()d memory. This is unlikely to be our current leak, but it may help dmalloc work.
svn:r5168
|
2005-09-30 20:47:58 +00:00 |
|
Nick Mathewson
|
92451f74a8
|
Reformat inconsistent function declarations.
svn:r5160
|
2005-09-30 01:09:52 +00:00 |
|
Roger Dingledine
|
fba01c3cc0
|
bugfix: we were whining about using socks4 or socks5-with-local-lookup
even when they used an IP in the "virtual" range we designed exactly
for this case.
svn:r5142
|
2005-09-24 21:56:04 +00:00 |
|
Roger Dingledine
|
6a52aa52fe
|
fix a pair of hard-coded urls
svn:r4887
|
2005-08-30 07:01:30 +00:00 |
|
Nick Mathewson
|
4870877231
|
Add SOCKSAndDNS link to appropriate log message, since we wind up pointing everybody to it anyway
svn:r4695
|
2005-08-04 20:12:44 +00:00 |
|
Nick Mathewson
|
0828feaf7c
|
Add belt-and-suspenders fix to coredump from yesterday; document more functions in buffers.c
svn:r4532
|
2005-07-12 18:19:30 +00:00 |
|
Roger Dingledine
|
8f9790a023
|
fix a seg fault with autodetecting which controller version is being used
svn:r4531
|
2005-07-12 05:48:15 +00:00 |
|
Roger Dingledine
|
9c67ae34f1
|
overall cleanup and streamlining and doccing
also fix a DoS avenue on dirservers
svn:r4468
|
2005-06-20 23:04:13 +00:00 |
|
Nick Mathewson
|
9b4aa8d2ab
|
Implement all the easy bits of the new control protocol
svn:r4449
|
2005-06-17 20:37:21 +00:00 |
|
Nick Mathewson
|
f9f09f1c5e
|
Start implementing framework for revised control spec.
svn:r4447
|
2005-06-17 18:49:55 +00:00 |
|
Roger Dingledine
|
91b1fb7ff7
|
some more cleaning and docing
svn:r4415
|
2005-06-11 21:17:38 +00:00 |
|
Nick Mathewson
|
232861ba42
|
Docment or add DOCDOC comments to undocumented functions in src/or. Make function definition format uniform.
svn:r4411
|
2005-06-11 18:52:12 +00:00 |
|
Roger Dingledine
|
2587fa09f9
|
move more docs into our code
svn:r4406
|
2005-06-11 06:07:22 +00:00 |
|
Roger Dingledine
|
fcd0fc3364
|
flesh out the source file descriptions for doxygen
svn:r4404
|
2005-06-11 05:31:17 +00:00 |
|
Nick Mathewson
|
0831823763
|
Change end-of-file NLNL convention. It turns out arma I and I agree.
svn:r4382
|
2005-06-09 19:03:31 +00:00 |
|
Roger Dingledine
|
d922fa7b10
|
fix another underflow in keeping stats
these size_ts are subtle buggers
svn:r4364
|
2005-06-09 03:57:54 +00:00 |
|
Nick Mathewson
|
87caad5445
|
Fix an underflow in buffer use conting.
svn:r4360
|
2005-06-08 21:55:02 +00:00 |
|
Nick Mathewson
|
b0538591c7
|
Reset buf->highwater every time buf_shrink is called, not just on suffessful shrink.
svn:r4353
|
2005-06-08 20:17:32 +00:00 |
|
Roger Dingledine
|
4c43789435
|
Some play code to throw away old buffers sometimes rather
than constantly reallocing them; just in case this is our memory
problem. It looks for now like it isn't, so disabled.
svn:r4349
|
2005-06-08 17:27:11 +00:00 |
|
Nick Mathewson
|
baa10cbbfa
|
Instrument buffers.c and rephist.c memory usage
svn:r4317
|
2005-06-06 17:03:21 +00:00 |
|
Roger Dingledine
|
5265bbd2b8
|
first iteration of scrubbing sensitive strings from logs.
also generally clean up log messages.
svn:r4174
|
2005-05-03 10:04:08 +00:00 |
|
Nick Mathewson
|
8b9ae25224
|
Change some >=s to >s in buf_resize, so that we do not denormalize buffers on resize.
svn:r4172
|
2005-05-03 03:25:04 +00:00 |
|
Nick Mathewson
|
14bac4dad4
|
Elaborate on buf_shrink comment.
svn:r4169
|
2005-05-02 23:41:39 +00:00 |
|
Roger Dingledine
|
aa6bcd50ca
|
comment buf_shrink
svn:r4168
|
2005-05-02 23:39:09 +00:00 |
|
Nick Mathewson
|
ad547cbb8c
|
Correct and simplify buf_shrink logic
svn:r4167
|
2005-05-02 23:36:13 +00:00 |
|
Nick Mathewson
|
d6a6c8785b
|
When removing all bytes from a buffer, reset buf->cur=buf->mem
svn:r4166
|
2005-05-02 23:32:23 +00:00 |
|
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.
svn:r4165
|
2005-05-02 23:17:08 +00:00 |
|
Nick Mathewson
|
9c683c7613
|
Make buffer shrinking algorithm a little smarter.
svn:r4164
|
2005-05-02 22:49:24 +00:00 |
|
Nick Mathewson
|
fe65e57ca1
|
Re-do fragmented control message handling to work with new buf_t system.
svn:r4144
|
2005-04-27 22:01:34 +00:00 |
|
Nick Mathewson
|
d0a9a8bdd3
|
Appease VC7. It has a strangely puritanical attitude about what programmers are allowed to do a consenting void*.
svn:r4140
|
2005-04-27 20:02:52 +00:00 |
|
Nick Mathewson
|
53607d3bb3
|
Turn SENTINELS back on; give NOINLINE a name and turn it off.
svn:r4139
|
2005-04-27 19:40:31 +00:00 |
|
Roger Dingledine
|
4c4a14e3cb
|
turn off the mongo debugging stuff, for performance tests
svn:r4137
|
2005-04-27 17:21:42 +00:00 |
|
Nick Mathewson
|
52376dc9e8
|
Rename buf->start to buf->cur; fix bug in read_to_buf; still debug with paranoia.
svn:r4130
|
2005-04-27 02:55:21 +00:00 |
|
Nick Mathewson
|
746768df5d
|
Add even more debugging code; temporarily disable inlines in buffers.c
svn:r4129
|
2005-04-27 00:53:44 +00:00 |
|
Roger Dingledine
|
2a7aec0ffd
|
fix function prototype, fix typo
svn:r4126
|
2005-04-26 21:29:20 +00:00 |
|
Nick Mathewson
|
ecc76d8245
|
Avoid overflow on wrapping a TLS read.
svn:r4125
|
2005-04-26 21:20:22 +00:00 |
|
Nick Mathewson
|
9ba2dd7ea1
|
Clean/renormalize whitespace
svn:r4122
|
2005-04-26 20:55:32 +00:00 |
|
Nick Mathewson
|
ef2409e4ed
|
Change the implementation of buf_t a lot: make it a ring buffer to minimize memmove on flush. This may break the universe, but it is probably Necessary For Perfomance.
svn:r4121
|
2005-04-26 20:53:22 +00:00 |
|
Roger Dingledine
|
12ea3a26b2
|
bugfix: make a debug log stop lying
svn:r4110
|
2005-04-25 15:43:05 +00:00 |
|
Nick Mathewson
|
5827e2e216
|
Fix "JAP-client" hideous ASN1 bug, twice. (Fix1: check more thoroughly for TLS errors when handling certs. Fix2: stop assert(0)ing on uncaught TLS errors.)
svn:r4085
|
2005-04-23 14:26:02 +00:00 |
|
Roger Dingledine
|
97637549bb
|
tie MAX_DIR_SIZE to MAX_BUF_SIZE
resolve bug 80
svn:r4052
|
2005-04-07 22:13:17 +00:00 |
|
Nick Mathewson
|
0e81265359
|
update copyright notices.
svn:r3982
|
2005-04-01 20:15:56 +00:00 |
|
Nick Mathewson
|
97dad670ea
|
Renormalize whitespace
svn:r3757
|
2005-03-14 03:18:35 +00:00 |
|
Nick Mathewson
|
aaf70df3bd
|
Fix signed/unsigned warning
svn:r3736
|
2005-03-10 18:45:42 +00:00 |
|