REALITY: SplitHTTP transport

This commit is contained in:
mhsanaei committed 2024-10-30 14:46:27 +01:00
1 parent 13f7e07128
commit 19a31686da
3 files changed
+3 -3

No files matched your search

@@ -1259,7 +1259,7 @@ class Inbound extends XrayCommonClass {
canEnableReality() {
if (![Protocols.VLESS, Protocols.TROJAN].includes(this.protocol)) return false;
return ["tcp", "http", "grpc"].includes(this.network);
return ["tcp", "http", "grpc", "splithttp"].includes(this.network);
}
canEnableStream() {
+1 -1
View File
@@ -602,7 +602,7 @@ class Outbound extends CommonClass {
canEnableReality() {
if (![Protocols.VLESS, Protocols.Trojan].includes(this.protocol)) return false;
return ["tcp", "http", "grpc"].includes(this.stream.network);
return ["tcp", "http", "grpc", "splithttp"].includes(this.stream.network);
}
canEnableStream() {