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))}