FIXME!!! 为什么客户端会重复发送 fin|ack

This commit is contained in:
impact-eintr
2022-12-12 20:33:50 +08:00
parent 0eff0e912f
commit 07fb40bb6a
9 changed files with 360 additions and 25 deletions

View File

@@ -26,7 +26,7 @@ func (v Value) InRange(a, b Value) bool {
}
// InWindows check v in [first, first+size)
func (v Value) InWindows(first Value, size Size) bool {
func (v Value) InWindow(first Value, size Size) bool {
return v.InRange(first, first.Add(size))
}