mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
Don't cannibalize one-hop circuits
In rare cases, we could cannibalize a one-hop circuit, ending up with a two-hop circuit. This circuit would not be actually used, but we should prevent its creation in the first place. Thanks to outofwords and swissknife for helping to analyse this.
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
o Refactorings:
|
||||
- Make it explicit that we don't cannibalize one-hop circuits. This happens
|
||||
in the wild, but doesn't turn out to be a problem because we fortunately
|
||||
don't use those circuits. Many thanks to outofwords for the initial
|
||||
analysis and to swissknife who confirmed that two-hop circuits are
|
||||
actually created.
|
||||
Reference in New Issue
Block a user