- 25 May, 2007 2 commits
-
-
Roger Dingledine authored
svn:r10335
-
Roger Dingledine authored
whether we have a connection open to the server right now. svn:r10333
-
- 24 May, 2007 1 commit
-
-
Nick Mathewson authored
Well, that was easier than I thought it would be. Tor is now a DNS proxy as well as a socks proxy. Probably some bugs remain, but since it A) has managed to resolve one address for me successfully, and B) will not affect anybody who leaves DNSPort unset, it feel like a good time to commit. svn:r10317
-
- 22 May, 2007 1 commit
-
-
Nick Mathewson authored
Make connection_array into a smartlist. svn:r10292
-
- 16 May, 2007 1 commit
-
-
Nick Mathewson authored
Fix GCC warnings related to local parameters/variables getting shadowed. svn:r10198
-
- 23 Apr, 2007 1 commit
-
-
Nick Mathewson authored
When logging memory usage, break down memory used in buffers by buffer type. svn:r10004
-
- 21 Apr, 2007 3 commits
-
-
Nick Mathewson authored
Rename a couple of confusing fields svn:r9996
-
Nick Mathewson authored
Initial version of code to stop using socket pairs for linked connections. Superficially, it seems to work, but it probably needs a lot more testing and attention. svn:r9995
-
Nick Mathewson authored
Track the number of connection_t separately from the number of open sockets. It is already possible to have connections that do not count: resolving conns, for one. Once we move from socketpairs to linked conns, and once we do dns proxying, there will be lots of such connections. svn:r9994
-
- 26 Mar, 2007 1 commit
-
-
Nick Mathewson authored
A surprisingly simple patch to stop reading on edge connections when their circuits get too full, and start again when they empty out. This lets us remove the logic to block begin_dir conns when the corresponding or conns get full: it was already broken by cell queues anyway. svn:r9905
-
- 24 Mar, 2007 1 commit
-
-
Nick Mathewson authored
Refactor a bunch of functions that take edge_connection_t not to also take a crypt_path_t; the cpath is implicit. svn:r9899
-
- 21 Mar, 2007 1 commit
-
-
Roger Dingledine authored
because we have no way of remembering what their purpose was when we restart. svn:r9894
-
- 20 Mar, 2007 2 commits
-
-
Roger Dingledine authored
stricter rate limiting to all OR conns except those that have been touched by local circuits. svn:r9882
-
Roger Dingledine authored
now that's just defined as answers to directory requests. svn:r9881
-
- 05 Mar, 2007 1 commit
-
-
Nick Mathewson authored
Remove dnsworkers and related code. there goes another 550 lines of code. svn:r9736
-
- 04 Mar, 2007 2 commits
-
-
Nick Mathewson authored
Remove support for v0 control protocol from 0.2.0.x trunk; send back error when we receive a v0 control message. (Leave "if(v1){...}"blocks indented for now so this patch is easier to read.) ((Finally, the linecount goes _down_ a little.)) svn:r9735
-
Nick Mathewson authored
Make all LD_BUG log messsages get prefixed with "Bug: ". Remove manually-generated "Bug: "s from log-messages. (Apparently, we remembered to add them about 40% of the time.) svn:r9733
-
- 25 Feb, 2007 1 commit
-
-
Nick Mathewson authored
Fix connection_get_by_type_state_rendquery(): This has been bogus for most of 0.1.2.x. Thanks to Karsten Loesing for finding the bug; fixes bug 399. svn:r9651
-
- 14 Feb, 2007 2 commits
-
-
Nick Mathewson authored
Tweak stream_bw patch: Remove a couple of redundant checks, save 8 bytes per edge connection, fix spelling in the changelog; expand spec. svn:r9586
-
Nick Mathewson authored
Apply stream_bw patch from Robert Hogan. svn:r9585
-
- 12 Feb, 2007 1 commit
-
-
Nick Mathewson authored
Update copyright dates. svn:r9570
-
- 11 Feb, 2007 1 commit
-
-
Roger Dingledine authored
svn:r9552
-
- 08 Feb, 2007 1 commit
-
-
Nick Mathewson authored
Resolve some XXXX012 items: - Remove PathlenCoinWeight: if we want it again, we can add it back in. - Ditto with RelayBandwidth*. - Decide to leave in the "hey, you didn't set end_reason!" BUG log message, but stop telling people to bug me personally. - Postpone strengthening assert_connection_ok(): it's important, but it's also a good way to introduce weird bugs. - Move some expensive consistency checking from dns_free_all() into assert_cache_ok(). svn:r9533
-
- 03 Feb, 2007 1 commit
-
-
Nick Mathewson authored
Update assert_connection_ok() to match the "block tunnelled dir conn if the or conn is full" logic. This may fix bug 385. svn:r9479
-
- 30 Jan, 2007 1 commit
-
-
Nick Mathewson authored
Audit non-const char arguments; make a lot more of them const. svn:r9466
-
- 27 Jan, 2007 1 commit
-
-
Nick Mathewson authored
This one is a little tricky. Our BEGIN_DIR implementation has a problem: the dirserv conns will decide they can flush all their data immediately, since the edge_conns will read greedily. For our 0.1.2 workaround, we track which or_conn a bridged dirserv conn is attached to, and stop writing when its outbuf is too full, and start writing again when the or_conn's outbuf empties out a little. This requires a bit of pointer management. Let's hope it works. svn:r9432
-
- 26 Jan, 2007 2 commits
-
-
Roger Dingledine authored
connection_is_rate_limited(). One day this will be useful. svn:r9422
-
Roger Dingledine authored
svn:r9421
-
- 23 Jan, 2007 1 commit
-
-
Nick Mathewson authored
Remove redundant check for whether _connection_write_to_buf_impl is called with a zlib and a non-directory connection: TO_DIR_CONN will already assert if it gets a non-dir connection. svn:r9390
-
- 22 Jan, 2007 1 commit
-
-
Roger Dingledine authored
writing to them, so we avoid queueing 4+ megabytes of data before trying to flush. Also add a new XXX012. svn:r9382
-
- 21 Jan, 2007 1 commit
-
-
Roger Dingledine authored
uptime in the descriptor. Also, don't let the global rate limiting buckets go absurdly negative. svn:r9377
-
- 18 Jan, 2007 2 commits
-
-
Roger Dingledine authored
svn:r9369
-
Roger Dingledine authored
connections) even when the global rate limiting buckets are empty. svn:r9368
-
- 17 Jan, 2007 1 commit
-
-
Roger Dingledine authored
aggressively. my vidalia bandwidth graph, when rate limiting to 32kB/s, has the "write" line constantly at 32kB. I can't imagine what's going on with the relay latency but it can't be good. svn:r9366
-
- 15 Jan, 2007 3 commits
-
-
Nick Mathewson authored
set or_conn->tls_error to 0 on non-error to avoid looking at stale errors. svn:r9359
-
Nick Mathewson authored
Tidy up ORCONN reason patch from Mike Perry. Changes: make some of the handling of TLS error codes less error prone. Enforce house style wrt spaces. Make it compile with --enable-gcc-warnings. Only set or_conn->tls_error in the case of an actual error. Add a changelog entry. svn:r9355
-
Nick Mathewson authored
Patch from Mike Perry: Track reasons for OR connection failure; display them in control events. Needs review and revision. svn:r9354
-
- 06 Jan, 2007 1 commit
-
-
Nick Mathewson authored
Fix an XXXX012 in connection.c: prevent overflows on unfeasibly-high-bandwidth servers on 32-bit architectures. svn:r9282
-
- 05 Jan, 2007 2 commits
-
-
Roger Dingledine authored
svn:r9271
-
Roger Dingledine authored
svn:r9269
-