feat(config): add PaddingScheme to configuration and update server config logic
This commit is contained in:
parent
7d84cf858b
commit
1995987f00
@ -24,6 +24,7 @@ type SecurityConfig struct {
|
||||
RealityPublicKey string `json:"reality_public_key"`
|
||||
RealityShortId string `json:"reality_short_id"`
|
||||
RealityMldsa65seed string `json:"reality_mldsa65seed"`
|
||||
PaddingScheme string `json:"padding_scheme"`
|
||||
}
|
||||
|
||||
type TransportConfig struct {
|
||||
|
||||
@ -199,6 +199,7 @@ func (l *GetServerConfigLogic) compatible(config node.Protocol) map[string]inter
|
||||
RealityPrivateKey: config.RealityPrivateKey,
|
||||
RealityPublicKey: config.RealityPublicKey,
|
||||
RealityShortId: config.RealityShortId,
|
||||
PaddingScheme: config.PaddingScheme,
|
||||
},
|
||||
}
|
||||
case Tuic:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user