fix: resetting outbound_proxy is not applied until restart
Massimo Melina committed
Jul 23, 2026 at 10:17 UTC
31ff08112e76433073af462d93c0a09f33a9470e
2 files changed
+3
-1
SECURITY.md
+2
-1
@@ -2,4 +2,5 @@
2
3
## Reporting a Vulnerability
4
5
-If you find important security problems, please contact us privately (a@rejetto.com) so that we can publish a fix before the problem is disclosed, for the safety of other users.
5
+If you find important security problems, please contact us privately (a@rejetto.com)
6
+so that we can publish a fix before the problem is disclosed, for the safety of other users.
src/outboundProxy.ts
+1
@@ -5,6 +5,7 @@ import { IS_WINDOWS } from './const'
5
import { CFG, prefix } from './cross'
6
7
const outboundProxy = defineConfig(CFG.outbound_proxy, '', v => {
8
+ httpStream.defaultProxy = undefined
9
if (!v) return
10
try {
11
parseHttpUrl(v) // just validate