fix: disable header protection in vmess server

This commit is contained in:
wwqgtxx
2023-02-18 16:42:54 +08:00
parent b9e63d3f7d
commit a61685ce01
3 changed files with 4 additions and 4 deletions

View File

@ -42,7 +42,7 @@ func New(config LC.VmessServer, tcpIn chan<- C.ConnContext, udpIn chan<- C.Packe
Additions: additions,
}
service := vmess.NewService[string](h)
service := vmess.NewService[string](h, vmess.ServiceWithDisableHeaderProtection())
err = service.UpdateUsers(
common.Map(config.Users, func(it LC.VmessUser) string {
return it.Username