]> git.ipfire.org Git - thirdparty/tor.git/commit
Simply route length generation code.
authorNick Mathewson <nickm@torproject.org>
Tue, 8 Oct 2013 15:48:33 +0000 (11:48 -0400)
committerNick Mathewson <nickm@torproject.org>
Tue, 8 Oct 2013 15:48:33 +0000 (11:48 -0400)
commitc8c22980151b220ec79fc2979bc7db3a9fe962d5
tree1f739b7bae458cf0f397e1be2eececa0a6d534a4
parent245ecfff36c0cecc8e4aef5ad8c062d7d4c07955
Simply route length generation code.

The old code had logic to use a shorter path length if we didn't
have enough nodes. But we don't support 2-node networks anwyay.

Fix for #9926.  I'm not calling this a bugfix on any particular
version, since a 2-node network would fail to work for you for a lot
of other reasons too, and it's not clear to me when that began, or if
2-node networks would ever have worked.
changes/bug9926 [new file with mode: 0644]
src/or/circuitbuild.c