Bug 29034: Cleanup hs circuitmap when purpose changes.
commita6399da598101d8046cbf7ab2d80051fd8820e2f
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 19:56:49 +0000 (5 12:56 -0700)
tree557d5617f4b096c18e02baeb9e4f6cfae28d9b0a
parente5deb2bbc73d8830ae6c479a4532e72112f5484a
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