remove ackhandlerlegacy and frames.AckFrameLegacy

This commit is contained in:
Lucas Clemente
2016-08-30 21:22:48 +02:00
parent a8b3e1ef8e
commit b032a07f70
23 changed files with 11 additions and 3378 deletions

View File

@@ -15,10 +15,5 @@ func LogFrame(frame Frame, sent bool) {
utils.Debugf("\t%s &frames.StreamFrame{StreamID: %d, FinBit: %t, Offset: 0x%x, Data length: 0x%x, Offset + Data length: 0x%x}", dir, sf.StreamID, sf.FinBit, sf.Offset, sf.DataLen(), sf.Offset+sf.DataLen())
return
}
if ack, ok := frame.(*AckFrame); ok {
if ack.AckFrameLegacy != nil {
frame = ack.AckFrameLegacy
}
}
utils.Debugf("\t%s %#v", dir, frame)
}