From f97c2fb4d029c0ad06fe862294ef349681905cb0 Mon Sep 17 00:00:00 2001 From: esrrhs Date: Sat, 26 Oct 2019 17:39:41 +0800 Subject: [PATCH] add --- framemgr.go | 9 --------- 1 file changed, 9 deletions(-) diff --git a/framemgr.go b/framemgr.go index 9b64b0f..0ce1e58 100644 --- a/framemgr.go +++ b/framemgr.go @@ -288,15 +288,6 @@ func (fm *FrameMgr) combineWindowToRecvBuffer() { } } - for len(reqtmp) < fm.windowsize { - reqtmp[id]++ - id++ - if id >= FRAME_MAX_ID { - id = 0 - } - break - } - f := &Frame{Type: (int32)(Frame_REQ), Resend: false, Sendtime: 0, Id: 0, Dataid: make([]int32, len(reqtmp))}