Skip to content
Snippets Groups Projects
Commit 09468cc5 authored by David Goulet's avatar David Goulet :panda_face:
Browse files

dir: Look if circuit is closed in connection_dir_is_anonymous()


Before inspecting the p_chan, we must check if the circuit is marked for close
because if it is the case, the channels are nullified from the circuit.

Several valid cases can mark the circuit for close of the directory
connection.

Fixes #31958

Signed-off-by: David Goulet's avatarDavid Goulet <dgoulet@torproject.org>
parent 76939cf2
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment