Move circuit-id-in-use check for CREATE cells to before all other checks
commitaf53e4bd1c9aa655ce4faacb957ad7603b9c4825
authorNick Mathewson <nickm@torproject.org>
Wed, 11 Jun 2014 02:41:13 +0000 (10 22:41 -0400)
committerNick Mathewson <nickm@torproject.org>
Wed, 11 Jun 2014 02:41:13 +0000 (10 22:41 -0400)
treeae4440464a1696b2f2e77267a94a6dc2388dbb8b
parent173a1afc5819f1fcabfa34bab5714d61088cc29f
Move circuit-id-in-use check for CREATE cells to before all other checks

This means that we never send a DESTROY cell in response to an attempt
to CREATE an existing circuit.  Fixes bug 12191.
changes/bug12191 [new file with mode: 0644]
src/or/command.c