This commit is contained in:
esrrhs 2019-10-26 17:39:41 +08:00
parent f06498e912
commit f97c2fb4d0

View File

@ -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, f := &Frame{Type: (int32)(Frame_REQ), Resend: false, Sendtime: 0,
Id: 0, Id: 0,
Dataid: make([]int32, len(reqtmp))} Dataid: make([]int32, len(reqtmp))}