implement changes to the CONNECTION_CLOSE frame

This commit is contained in:
Marten Seemann
2018-10-31 11:21:51 +07:00
parent f82c583957
commit 73ac6b14bf
4 changed files with 103 additions and 37 deletions

View File

@@ -40,7 +40,7 @@ func parseFrame(r *bytes.Reader, typeByte byte, v protocol.VersionNumber) (Frame
if err != nil {
err = qerr.Error(qerr.InvalidRstStreamData, err.Error())
}
case 0x2:
case 0x2, 0x3:
frame, err = parseConnectionCloseFrame(r, v)
if err != nil {
err = qerr.Error(qerr.InvalidConnectionCloseData, err.Error())