fix saving sockopt
This commit is contained in:
1 parent
ad5f774a1e
commit
d5c532c64f
2 files changed
+11
-3
No files matched your search
@@ -1710,7 +1710,7 @@ class Inbound extends XrayCommonClass {
|
||||
|
||||
toJson() {
|
||||
let streamSettings;
|
||||
if (this.canEnableStream()) {
|
||||
if (this.canEnableStream() || this.stream?.sockopt) {
|
||||
streamSettings = this.stream.toJson();
|
||||
}
|
||||
return {
|
||||
|
||||
Reference in new issue
Block a user