ppkarwasz commented on PR #52:
URL: https://github.com/apache/mina/pull/52#issuecomment-4503399512

   These knobs are loosely based on other deflators like 
[`mod_deflate`](https://httpd.apache.org/docs/current/mod/mod_deflate.html), 
which applies similar limits:
   
   - `DeflateInflateRatioLimit` (analogous to `maxDecompressRatio`) defaults to 
200.
   - Rather than a grace size, `mod_deflate` only rejects a stream once the 
cumulative ratio stays above the limit for `DeflateInflateRatioBurst + 1` 
(default `4`) consecutive output buffers. With the default 8 KiB buffer, that 
corresponds to roughly 32 KiB of decompressed output, well below our 1 MiB 
`decompressRatioMinSize`.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to