mirror of
https://github.com/XTLS/Xray-core.git
synced 2025-06-09 02:13:36 +03:00
RAW transport hub.go: Call REALITY's DetectPostHandshakeRecordsLens() in advance
https://github.com/XTLS/Xray-core/issues/4778#issuecomment-2953455751
This commit is contained in:
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 {
|
if config := reality.ConfigFromStreamSettings(streamSettings); config != nil {
|
||||||
l.realityConfig = config.GetREALITYConfig()
|
l.realityConfig = config.GetREALITYConfig()
|
||||||
|
go goreality.DetectPostHandshakeRecordsLens(l.realityConfig)
|
||||||
}
|
}
|
||||||
|
|
||||||
if tcpSettings.HeaderSettings != nil {
|
if tcpSettings.HeaderSettings != nil {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user