Bug 29034: Cleanup hs circuitmap when purpose changes.
commitc525135dac354892a45ad3d2f6de9450d393f09f
authorMike Perry <mikeperry-git@torproject.org>
Wed, 5 Jun 2019 18:50:44 +0000 (5 11:50 -0700)
committerMike Perry <mikeperry-git@torproject.org>
Wed, 5 Jun 2019 18:50:44 +0000 (5 11:50 -0700)
tree652fdf4a18796051709406c2762209437f0dc8fd
parent31c34f6524fecd6a104a8dac04d9330b5323e3c0
Bug 29034: Cleanup hs circuitmap when purpose changes.

Leave the other rend and hs_ident data around until circuit free, since code
may still try to inspect it after marking the circuit for close. The
circuitmap is the important thing to clean up, since repurposed
intropoints must be removed from this map to ensure validity.
changes/bug29034 [new file with mode: 0644]
src/core/or/circuituse.c