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

relay: Send back CONNECTION_REFUSED on reentry


The TORPROTOCOL reason causes the client to close the circuit which is not
what we want because other valid streams might be on it.

Instead, CONNECTION_REFUSED will leave it open but will not allow more streams
to be attached to it. The client then open a new circuit to the destination.

Closes #40270

Signed-off-by: David Goulet's avatarDavid Goulet <dgoulet@torproject.org>
parent 98590621
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