diff options
author | Nick Mathewson <nickm@torproject.org> | 2011-03-28 16:44:40 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2011-04-26 23:54:16 -0400 |
commit | db2fd28308fb019e59280219cf95f09f5208092f (patch) | |
tree | 86e0bc906eb27c62cb7f40da39b350117a04e9b2 /src | |
parent | ca74badbe95be77bd990c9c4f9c1b26052d4159e (diff) | |
download | tor-db2fd28308fb019e59280219cf95f09f5208092f.tar.gz tor-db2fd28308fb019e59280219cf95f09f5208092f.zip |
Note that circuit purpose changing can violate ExcludeNodes
Diffstat (limited to 'src')
-rw-r--r-- | src/or/rendservice.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/or/rendservice.c b/src/or/rendservice.c index 88f1ba3ddd..5b85394ddc 100644 --- a/src/or/rendservice.c +++ b/src/or/rendservice.c @@ -1352,6 +1352,9 @@ rend_service_intro_has_opened(origin_circuit_t *circuit) log_info(LD_CIRC|LD_REND, "We have just finished an introduction " "circuit, but we already have enough. Redefining purpose to " "general."); + /* XXX022-1090: This can wind up violating ExcludeNodes/ + * ExitNodes/ExcludeExitNodes restrictions. + */ TO_CIRCUIT(circuit)->purpose = CIRCUIT_PURPOSE_C_GENERAL; circuit_has_opened(circuit); return; |