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 <dgoulet@torproject.org>
Status | Job ID | Name | Coverage | ||||||
---|---|---|---|---|---|---|---|---|---|
Test | |||||||||
passed |
#10342
|
debian-disable-dirauth |
00:05:49
|
|
|||||
passed |
#10343
|
debian-disable-relay |
00:06:11
|
|
|||||
passed |
#10338
|
debian-distcheck |
00:07:32
|
|
|||||
passed |
#10339
|
debian-docs |
00:02:50
|
|
|||||
failed |
#10337
|
debian-hardened |
00:08:00
|
|
|||||
passed |
#10340
|
debian-integration |
00:15:51
|
|
|||||
passed |
#10336
|
debian-minimal |
00:06:16
|
|
|||||
passed |
#10344
|
debian-nss |
00:05:55
|
|
|||||
passed |
#10341
|
debian-tracing |
00:08:21
|
|
|||||
Name | Stage | Failure | ||
---|---|---|---|---|
failed
|
debian-hardened | Test | ||
|