Fix XHTTP

This commit is contained in:
Shtorm
2026-07-18 14:21:06 +03:00
parent 09d2dca3c3
commit 6941854ce2
2 changed files with 10 additions and 10 deletions

View File

@@ -168,9 +168,9 @@ func (e *RealityClientConfig) ClientHandshake(ctx context.Context, conn net.Conn
}
binary.BigEndian.PutUint64(hello.SessionId, uint64(nowTime.Unix()))
hello.SessionId[0] = 1
hello.SessionId[1] = 8
hello.SessionId[2] = 1
hello.SessionId[0] = 26
hello.SessionId[1] = 7
hello.SessionId[2] = 11
binary.BigEndian.PutUint32(hello.SessionId[4:], uint32(time.Now().Unix()))
copy(hello.SessionId[8:], e.shortID[:])
if debug.Enabled {