mirror of
https://github.com/MercuryWorkshop/epoxy-tls.git
synced 2025-05-13 06:20:02 -04:00
remove invalidstreamtype to allow for custom protocol extension streams
This commit is contained in:
parent
b8eb13903b
commit
397fd43dc5
3 changed files with 49 additions and 36 deletions
|
@ -52,8 +52,6 @@ pub enum WispError {
|
|||
PacketTooSmall,
|
||||
/// The packet received had an invalid type.
|
||||
InvalidPacketType,
|
||||
/// The stream had an invalid type.
|
||||
InvalidStreamType,
|
||||
/// The stream had an invalid ID.
|
||||
InvalidStreamId,
|
||||
/// The close packet had an invalid reason.
|
||||
|
@ -113,7 +111,6 @@ impl std::fmt::Display for WispError {
|
|||
match self {
|
||||
Self::PacketTooSmall => write!(f, "Packet too small"),
|
||||
Self::InvalidPacketType => write!(f, "Invalid packet type"),
|
||||
Self::InvalidStreamType => write!(f, "Invalid stream type"),
|
||||
Self::InvalidStreamId => write!(f, "Invalid stream id"),
|
||||
Self::InvalidCloseReason => write!(f, "Invalid close reason"),
|
||||
Self::InvalidUri => write!(f, "Invalid URI"),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue