4 instantiations of HuffmanDecodingException
Microsoft.AspNetCore.Server.Kestrel.Core (4)
src\Shared\runtime\Http2\Hpack\Huffman.cs (4)
733
throw new
HuffmanDecodingException
(SR.net_http_hpack_huffman_decode_failed);
776
throw new
HuffmanDecodingException
(SR.net_http_hpack_huffman_decode_failed);
792
throw new
HuffmanDecodingException
(SR.net_http_hpack_huffman_decode_failed);
800
throw new
HuffmanDecodingException
(SR.net_http_hpack_huffman_decode_failed);
8 references to HuffmanDecodingException
Microsoft.AspNetCore.Server.Kestrel.Core (3)
Internal\Http3\QPack\EncoderStreamReader.cs (1)
289
catch (
HuffmanDecodingException
ex)
src\Shared\runtime\Http2\Hpack\HPackDecoder.cs (1)
621
catch (
HuffmanDecodingException
ex)
src\Shared\runtime\Http3\QPack\QPackDecoder.cs (1)
660
catch (
HuffmanDecodingException
ex)
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (5)
src\Shared\test\Shared.Tests\runtime\Http2\HPackDecoderTest.cs (1)
903
Assert.IsType<
HuffmanDecodingException
>(exception.InnerException);
src\Shared\test\Shared.Tests\runtime\Http2\HuffmanDecodingTests.cs (4)
89
Assert.Throws<
HuffmanDecodingException
>(() => Huffman.Decode(encoded, ref decoded));
271
Exception exception = Assert.Throws<
HuffmanDecodingException
>(() => Huffman.Decode(new ReadOnlySpan<byte>(encoded), ref dst));
288
Exception exception = Assert.Throws<
HuffmanDecodingException
>(() => Huffman.Decode(new ReadOnlySpan<byte>(encoded), ref dst));
333
Exception exception = Assert.Throws<
HuffmanDecodingException
>(() => Huffman.Decode(new ReadOnlySpan<byte>(encoded), ref dst));