fix(go): repair migration wire contracts and runtime lifecycle; document incomplete port

This commit is contained in:
CAtlas0784 committed 2026-10-29 15:35:35 +07:00
1 parent e43a310617
commit 32e47014b5
35 files changed
+16826 -438

No files matched your search

+3
View File
@@ -20,6 +20,9 @@ func HandleHandshake(conn net.Conn) (*chacha8.UxChaCha8, *chacha8.UxChaCha8, err
if err != nil {
return nil, nil, err
}
if frame.Mode != 0x01 {
return nil, nil, errors.New("invalid handshake frame mode")
}
if len(frame.Payload) < 20 {
return nil, nil, errors.New("client handshake too short")
}