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.
|
20 years ago |
Nick Mathewson
|
9c683c7613
Make buffer shrinking algorithm a little smarter.
|
20 years ago |
Nick Mathewson
|
fe65e57ca1
Re-do fragmented control message handling to work with new buf_t system.
|
20 years ago |
Nick Mathewson
|
d0a9a8bdd3
Appease VC7. It has a strangely puritanical attitude about what programmers are allowed to do a consenting void*.
|
20 years ago |
Nick Mathewson
|
53607d3bb3
Turn SENTINELS back on; give NOINLINE a name and turn it off.
|
20 years ago |
Roger Dingledine
|
4c4a14e3cb
turn off the mongo debugging stuff, for performance tests
|
20 years ago |
Nick Mathewson
|
52376dc9e8
Rename buf->start to buf->cur; fix bug in read_to_buf; still debug with paranoia.
|
20 years ago |
Nick Mathewson
|
746768df5d
Add even more debugging code; temporarily disable inlines in buffers.c
|
20 years ago |
Roger Dingledine
|
2a7aec0ffd
fix function prototype, fix typo
|
20 years ago |
Nick Mathewson
|
ecc76d8245
Avoid overflow on wrapping a TLS read.
|
20 years ago |
Nick Mathewson
|
9ba2dd7ea1
Clean/renormalize whitespace
|
20 years ago |
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.
|
20 years ago |
Roger Dingledine
|
12ea3a26b2
bugfix: make a debug log stop lying
|
20 years ago |
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.)
|
20 years ago |
Roger Dingledine
|
97637549bb
tie MAX_DIR_SIZE to MAX_BUF_SIZE
|
20 years ago |
Nick Mathewson
|
0e81265359
update copyright notices.
|
20 years ago |
Nick Mathewson
|
97dad670ea
Renormalize whitespace
|
20 years ago |
Nick Mathewson
|
aaf70df3bd
Fix signed/unsigned warning
|
20 years ago |
Nick Mathewson
|
b494c2223d
Specify and implement fragmented control messages to allow for (among other things) long GETINFO replies. Otherwise we could hit the 64K barrier on questions like "please dump your client-side DNS cache."
|
21 years ago |
Nick Mathewson
|
4ddf768a4f
Forward-port new reasons; clean up code more; add code to convert new reasons to SOCKS5 reply codes; add code to convert errnos to reasons. New code still needs to get invoked.
|
21 years ago |
Nick Mathewson
|
6e6d95b3db
Change from inet_ntoa to a threadproof tor_inet_ntoa.
|
21 years ago |
Roger Dingledine
|
a005509c9d
update url for when users try to use socksport as an http proxy
|
21 years ago |
Roger Dingledine
|
f50b785c3b
and forward port the cleanup
|
21 years ago |
Roger Dingledine
|
18320557a1
fix a crash: if you do socks4 with an IP of 0.0.0.x then we get tricked
|
21 years ago |
Roger Dingledine
|
ad4f440e10
rearrange debug logs to make more sense
|
21 years ago |
Nick Mathewson
|
b457cfb5eb
Spell-check strings and comments
|
21 years ago |
Nick Mathewson
|
7fbd297532
Suggestion from weasel: Make tor --version --version dump the cvs Id of every file.
|
21 years ago |
Roger Dingledine
|
22727b4edc
wrong is ok, and right is fine, but in between is apparently
|
21 years ago |
Nick Mathewson
|
6f5dbefa7e
Normalize space: add one between every control keyword and control clause.
|
21 years ago |
Nick Mathewson
|
f77ff938b7
remember; tor_socket_errno has side effects!
|
21 years ago |