This commit is contained in:
Fangliding
2026-06-09 20:12:54 +08:00
parent 3f4a4004f9
commit bbcf2c4e45
4 changed files with 48 additions and 50 deletions
+4 -4
View File
@@ -209,10 +209,10 @@ func (c *Config) GetNormalizedServerMaxHeaderBytes() int {
}
func (c *Config) GetNormalizedSessionPlacement() string {
if c.SessionPlacement == "" {
if c.SessionIDPlacement == "" {
return PlacementPath
}
return c.SessionPlacement
return c.SessionIDPlacement
}
func (c *Config) GetNormalizedSeqPlacement() string {
@@ -230,8 +230,8 @@ func (c *Config) GetNormalizedUplinkDataPlacement() string {
}
func (c *Config) GetNormalizedSessionKey() string {
if c.SessionKey != "" {
return c.SessionKey
if c.SessionIDKey != "" {
return c.SessionIDKey
}
switch c.GetNormalizedSessionPlacement() {
case PlacementHeader: