diff options
author | Nick Mathewson <nickm@torproject.org> | 2007-01-27 08:55:06 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2007-01-27 08:55:06 +0000 |
commit | 9984cad6e86d65f4685fd1283bf1f1b4a4602f22 (patch) | |
tree | ce97ea208a1650414535881a16c5dce4dab40f87 /doc/TODO | |
parent | 2525c44d176feb5227910ccc63e39622774086dc (diff) | |
download | tor-9984cad6e86d65f4685fd1283bf1f1b4a4602f22.tar tor-9984cad6e86d65f4685fd1283bf1f1b4a4602f22.tar.gz |
r11552@catbus: nickm | 2007-01-27 03:55:02 -0500
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
Diffstat (limited to 'doc/TODO')
-rw-r--r-- | doc/TODO | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -57,9 +57,9 @@ R - Hunt for places that change networkstatus info that I might have TunnelDirConns and PreferTunneledDirConns R - actually cause the directory.c functions to know about or_port and use it when we're supposed to. -N o for tunneled edge conns, stop reading to the bridge connection + o for tunneled edge conns, stop reading to the bridge connection when the or_conn we're writing to has a full outbuf. - . make directory bridge data not get produced when the corresponding + o make directory bridge data not get produced when the corresponding or_conn is full, and accept the sometimes directory data will just never get written. |