fix: remove tgwsproxy keepalive option - removed from upstream

This commit is contained in:
FUFSoB committed 2026-06-29 22:29:28 +05:00
1 parent 89fbff9eb1
commit 5b185114b6
4 files changed
+1 -61

No files matched your search

-13
View File
@@ -700,7 +700,6 @@ let
cfProxyFallback = false;
fakeTlsDomain = "mask.example.com";
proxyProtocol = true;
wsKeepalive = 0;
};
}
];
@@ -784,16 +783,6 @@ let
}
];
tgInvalidWsKeepalive = mkBadFixture [
{
services.proxy-suite.tgWsProxy = {
enable = true;
secretFile = "/run/secrets/tg-ws-proxy";
wsKeepalive = -1;
};
}
];
duplicateTags = forceEval (
(mkFixture {
enable = true;
@@ -2198,11 +2187,9 @@ let
assert pkgs.lib.hasInfix "--no-cfproxy" tgAllOptionsStartScript;
assert pkgs.lib.hasInfix "--fake-tls-domain=mask.example.com" tgAllOptionsStartScript;
assert pkgs.lib.hasInfix "--proxy-protocol" tgAllOptionsStartScript;
assert pkgs.lib.hasInfix "--ws-keepalive=0" tgAllOptionsStartScript;
assert tgInvalidBufKb.success == false;
assert tgInvalidPoolSize.success == false;
assert tgInvalidLogBackups.success == false;
assert tgInvalidWsKeepalive.success == false;
true
)
(