When we get an END cell before CONNECTED, don't report SOCKS success

Bug 7902; fix on 0.1.0.1-rc.
This commit is contained in:
Nick Mathewson
2013-01-16 12:08:10 -05:00
parent 7fc91dc274
commit d1b5ae903f
3 changed files with 18 additions and 2 deletions
+7
View File
@@ -0,0 +1,7 @@
o Minor bugfixes:
- When we receive a RELAY_END cell with the reason DONE, or with no
reason, before receiving a RELAY_CONNECTED cell, report the SOCKS
status as "connection refused." Previously we reporting these
cases as success but then immediately closing the connection.
Fixes bug 7902; bugfix on 0.1.0.1-rc. Reported by "oftc_must_
be_destroyed."