summaryrefslogtreecommitdiff
path: root/doc/TODO
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2007-04-21 17:24:18 +0000
committerNick Mathewson <nickm@torproject.org>2007-04-21 17:24:18 +0000
commit227b2e0226445d0c4f39572f51f55451f9fa90f3 (patch)
tree2c1fb15b829e3fc1e21ec29c1c5e9f28c7d02dbc /doc/TODO
parent671b990f5168771051b251162698354ebbf39a6c (diff)
downloadtor-227b2e0226445d0c4f39572f51f55451f9fa90f3.tar.gz
tor-227b2e0226445d0c4f39572f51f55451f9fa90f3.zip
r12759@Kushana: nickm | 2007-04-20 08:47:20 -0400
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
Diffstat (limited to 'doc/TODO')
-rw-r--r--doc/TODO16
1 files changed, 15 insertions, 1 deletions
diff --git a/doc/TODO b/doc/TODO
index 1cb461d123..a3fe960caf 100644
--- a/doc/TODO
+++ b/doc/TODO
@@ -100,8 +100,22 @@ Things we'd like to do in 0.2.0.x:
"who can change what" in local_routerstatus explicit. Make
local_routerstatus (or equivalent) subsume all places to go for "what
router is this?"
- - Remove socketpair-based bridges conns, and the word "bridge". (Use
+ . Remove socketpair-based bridges conns, and the word "bridge". (Use
shared (or connected) buffers for communication, rather than sockets.)
+ o Design
+ o Pick a term. The term is now "linked connection."
+ o Figure out how to ensure that handle_read is always called.
+ (Use event_active; keep active events in a list; use event_once
+ to make sure that we call the event base dispatch function enough.)
+ . Implement
+ o Count connections and sockets separately
+ - Allow connections with s == -1
+ - Add a linked_conn field; it should get marked when we're marked.
+ - Add a function to move bytes from buffer to buffer.
+ - Have handle_read dtrt for linked connections
+ - Have an activate/deactivate_linked_connection function.
+ - Have activated functions added to a list on first activation, and
+ that list made active before calls to event_loop.
- Generate torrc.{complete|sample}.in, tor.1.in, the HTML manual, and the
online config documentation from a single source.
- Have clients do TLS connection rotation less often than "every 10