mirror of
https://github.com/v2fly/v2ray-core.git
synced 2026-06-06 19:19:15 -04:00
shrink_buf
This commit is contained in:
@@ -216,6 +216,7 @@ func (kcp *KCP) Input(data []byte) int {
|
||||
kcp.rmt_wnd = seg.ReceivingWindow
|
||||
}
|
||||
kcp.HandleReceivingNext(seg.ReceivingNext)
|
||||
kcp.shrink_buf()
|
||||
for i := 0; i < int(seg.Count); i++ {
|
||||
ts := seg.TimestampList[i]
|
||||
sn := seg.NumberList[i]
|
||||
|
||||
Reference in New Issue
Block a user