Skip to content

relay: Send back CONNECTION_REFUSED on reentry

David Goulet requested to merge dgoulet/tor:ticket40270_045_01 into maint-0.4.5

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 (closed)

Signed-off-by: David Goulet dgoulet@torproject.org

Merge request reports