diff --git a/src/hpack/huffman/mod.rs b/src/hpack/huffman/mod.rs index ce4d1ec..c0d5df0 100644 --- a/src/hpack/huffman/mod.rs +++ b/src/hpack/huffman/mod.rs @@ -93,7 +93,7 @@ impl Decoder { if flags & ERROR == ERROR { // Data followed the EOS marker - unimplemented!(); + return Err(DecoderError::InvalidHuffmanCode); } let mut ret = None;