h3: remove remaining DUPICATE_PUSH remanants
diff --git a/src/h3/frame.rs b/src/h3/frame.rs
index 87964c5..70afc88 100644
--- a/src/h3/frame.rs
+++ b/src/h3/frame.rs
@@ -35,7 +35,6 @@
pub const PUSH_PROMISE_FRAME_TYPE_ID: u64 = 0x5;
pub const GOAWAY_FRAME_TYPE_ID: u64 = 0x6;
pub const MAX_PUSH_FRAME_TYPE_ID: u64 = 0xD;
-pub const DUPLICATE_PUSH_FRAME_TYPE_ID: u64 = 0xE;
const SETTINGS_QPACK_MAX_TABLE_CAPACITY: u64 = 0x1;
const SETTINGS_MAX_HEADER_LIST_SIZE: u64 = 0x6;
diff --git a/src/h3/stream.rs b/src/h3/stream.rs
index aa350d2..69f3da2 100644
--- a/src/h3/stream.rs
+++ b/src/h3/stream.rs
@@ -244,9 +244,6 @@
(frame::PUSH_PROMISE_FRAME_TYPE_ID, true) =>
return Err(Error::FrameUnexpected),
- (frame::DUPLICATE_PUSH_FRAME_TYPE_ID, true) =>
- return Err(Error::FrameUnexpected),
-
// All other frames are ignored after initialization.
(_, true) => (),
}
@@ -299,9 +296,6 @@
frame::MAX_PUSH_FRAME_TYPE_ID =>
return Err(Error::FrameUnexpected),
- frame::DUPLICATE_PUSH_FRAME_TYPE_ID =>
- return Err(Error::FrameUnexpected),
-
_ => (),
}
},