mirror of
https://github.com/fumiama/WireGold.git
synced 2026-06-12 12:50:28 +08:00
fix: multi-segment hash checking
This commit is contained in:
@@ -163,9 +163,8 @@ func (s *Tunnel) handleRead() {
|
||||
}
|
||||
end := 64
|
||||
endl := "..."
|
||||
pp := &p.H
|
||||
if pp.Size() < 64 {
|
||||
end = pp.Size()
|
||||
if p.D.Len() < 64 {
|
||||
end = p.D.Len()
|
||||
endl = "."
|
||||
}
|
||||
var recvseq uint32
|
||||
|
||||
Reference in New Issue
Block a user