GeezerVison is showing github.com — More concise annotations · netty/netty@96e7b2d
File tree
Expand file treeCollapse file tree
Open diff view settings
codec-http/src/test/java/io/netty/handler/codec/http
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: codec-http/src/test/java/io/netty/handler/codec/http/HttpContentDecompressorTest.java -7Lines changed: 0 additions & 7 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -203,13 +203,6 @@ public void testZipBomb(String encoding) { |
203 | 203 | assertEquals((long) chunkSize * numberOfChunks, incomingHandler.total); |
204 | 204 | } |
205 | 205 |
|
206 | | - // See https://github.com/netty/netty — regression test for the brotli branch of |
207 | | - // HttpContentDecompressor#newContentDecoder passing maxAllocation to |
208 | | - // BrotliDecoder's single-arg constructor, which maps its argument to |
209 | | - // inputBufferSize rather than to the decompression output cap. Small values |
210 | | - // like 64 used to break brotli decoding entirely (input buffer far too |
211 | | - // small for realistic payloads); after the fix, they configure the output |
212 | | - // cap instead and decompression still produces the full payload. |
213 | 206 | @Test |
214 | 207 | public void testBrotliDecodingHonorsMaxAllocationAsOutputCap() throws Exception { |
215 | 208 | Assumptions.assumeTrue(Brotli.isAvailable(), |
|