diff options
author | Nick Mathewson <nickm@torproject.org> | 2013-12-21 10:15:09 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2013-12-21 10:15:09 -0500 |
commit | b5d13d11c90cb94193b6071e8c525f75cc77b861 (patch) | |
tree | 24d790ce847fa5d61f532809bd04d1dc28774bd8 /changes | |
parent | dabdc339fe5abc5949f087621996672c122101b6 (diff) | |
download | tor-b5d13d11c90cb94193b6071e8c525f75cc77b861.tar tor-b5d13d11c90cb94193b6071e8c525f75cc77b861.tar.gz |
Fix a logic error in circuit_stream_is_being_handled.
When I introduced the unusable_for_new_circuits flag in
62fb209d837f3f551, I had a spurious ! in the
circuit_stream_is_being_handled loop. This made us decide that
non-unusable circuits (that is, usable ones) were the ones to avoid,
and caused it to launch a bunch of extra circuits.
Fixes bug 10456; bugfix on 0.2.4.12-alpha.
Diffstat (limited to 'changes')
-rw-r--r-- | changes/bug10456 | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/changes/bug10456 b/changes/bug10456 new file mode 100644 index 000000000..fb3b92fcd --- /dev/null +++ b/changes/bug10456 @@ -0,0 +1,6 @@ + o Major bugfixes: + - Avoid launching spurious extra circuits when a stream is pending. + This fixes a bug where any circuit that _wasn't_ unusable for new + streams would be treated as if it were, causing extra circuits to + be launched. Fixes bug 10456; bugfix on 0.2.4.12-alpha. + |