use wrapped legacy ACK frame

ref #55
This commit is contained in:
Marten Seemann 2016-07-26 12:30:48 +07:00
parent 516500e156
commit ef194015de
11 changed files with 102 additions and 69 deletions

View file

@ -61,7 +61,7 @@ ReadLoop:
err = qerr.Error(qerr.InvalidStreamData, err.Error())
}
} else if typeByte&0xc0 == 0x40 {
frame, err = frames.ParseAckFrameLegacy(r, u.version)
frame, err = frames.ParseAckFrame(r, u.version)
if err != nil {
err = qerr.Error(qerr.InvalidAckData, err.Error())
}