mirror of
https://github.com/XTLS/REALITY.git
synced 2026-10-03 04:18:03 +03:00
Fix hanging issue for some randomized fingerprints
This commit is contained in:
@@ -375,6 +375,9 @@ func Server(ctx context.Context, conn net.Conn, config *Config) (*Conn, error) {
|
||||
break
|
||||
}
|
||||
for _, length := range postHandshakeRecordsLens[hs.clientHello.serverName] {
|
||||
if length == 0 {
|
||||
break;
|
||||
}
|
||||
plainText := make([]byte, length-16)
|
||||
plainText[0] = 23
|
||||
plainText[1] = 3
|
||||
|
||||
Reference in New Issue
Block a user