mirror of https://github.com/XTLS/Xray-core
RAW transport hub.go: Call REALITY's DetectPostHandshakeRecordsLens() in advance
https://github.com/XTLS/Xray-core/issues/4778#issuecomment-2953455751pull/4793/head
parent
f4b23c6565
commit
e011b746dc
|
@ -72,6 +72,7 @@ func ListenTCP(ctx context.Context, address net.Address, port net.Port, streamSe
|
|||
}
|
||||
if config := reality.ConfigFromStreamSettings(streamSettings); config != nil {
|
||||
l.realityConfig = config.GetREALITYConfig()
|
||||
go goreality.DetectPostHandshakeRecordsLens(l.realityConfig)
|
||||
}
|
||||
|
||||
if tcpSettings.HeaderSettings != nil {
|
||||
|
|
Loading…
Reference in New Issue