Skip to content

Commit

Permalink
sinb-box mux add padding option
Browse files Browse the repository at this point in the history
  • Loading branch information
2dust committed Aug 31, 2024
1 parent b6c0947 commit 2879fdd
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions v2rayN/ServiceLib/Handler/CoreConfig/CoreConfigSingbox.cs
Original file line number Diff line number Diff line change
Expand Up @@ -702,6 +702,7 @@ private int GenOutboundMux(ProfileItem node, Outbound4Sbox outbound)
enabled = true,
protocol = _config.mux4SboxItem.protocol,
max_connections = _config.mux4SboxItem.max_connections,
padding = _config.mux4SboxItem.padding,
};
outbound.multiplex = mux;
}
Expand Down
1 change: 1 addition & 0 deletions v2rayN/ServiceLib/Models/ConfigItems.cs
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,7 @@ public class Mux4SboxItem
{
public string protocol { get; set; }
public int max_connections { get; set; }
public bool? padding { get; set; }
}

[Serializable]
Expand Down
1 change: 1 addition & 0 deletions v2rayN/ServiceLib/Models/SingboxConfig.cs
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@ public class Multiplex4Sbox
public bool enabled { get; set; }
public string protocol { get; set; }
public int max_connections { get; set; }
public bool? padding { get; set; }
}

public class Utls4Sbox
Expand Down

0 comments on commit 2879fdd

Please sign in to comment.