forked from quic-go/quic-go
remove parser logic for HTTP/3 DUPLICATE_PUSH frame (#3356)
This frame was removed in draft-25.
This commit is contained in:
@@ -39,8 +39,6 @@ func parseNextFrame(r io.Reader) (frame, error) {
|
||||
fallthrough
|
||||
case 0xd: // MAX_PUSH_ID
|
||||
fallthrough
|
||||
case 0xe: // DUPLICATE_PUSH
|
||||
fallthrough
|
||||
default:
|
||||
// skip over unknown frames
|
||||
if _, err := io.CopyN(ioutil.Discard, qr, int64(l)); err != nil {
|
||||
|
||||
Reference in New Issue
Block a user