diff options
author | Nick Mathewson <nickm@torproject.org> | 2004-02-27 22:00:26 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2004-02-27 22:00:26 +0000 |
commit | c5bbb571d2a27d0b81bfe7a1d374ba965497f267 (patch) | |
tree | 81bf23633d8fe4a1da845f097bd52a6ae83340ae /doc/FAQ | |
parent | 58a7bfab81eeb707b1251df8e525e5b7b7365272 (diff) | |
download | tor-c5bbb571d2a27d0b81bfe7a1d374ba965497f267.tar tor-c5bbb571d2a27d0b81bfe7a1d374ba965497f267.tar.gz |
Refactor mark_for_close, connection_edge_end and friends. Now, everybody
who wants to shut down a connection calls connection_mark_for_close instead
of setting marked_for_close to 1. This automatically removes the connection
from the DNS cache if needed, sends a RELAY END cell if appropriate, and can
be changed to do whatever else is needed.
Still to do:
- The same for circuits, maybe.
- Add some kind of hold_connection_open_until_flushed flag, maybe.
- Change stuff that closes connections with return -1 to use mark_for_close,
maybe.
svn:r1145
Diffstat (limited to 'doc/FAQ')
0 files changed, 0 insertions, 0 deletions