Github user caricaturecm commented on the issue:

    https://github.com/apache/trafficserver/pull/776
  
    3383c8744ed36c08e06819395ee910b27860999d The old version is to set the 
compress file type. Here is to set the compress file type that don't want to be 
compressed by brotli. Also, make the brotli quality and compress file type 
blacklist configurable.
    30d4b8ff08c8a72e20796932f6ecf8a30a2283bb This commit make the encode 
streaming. In `consume()` call `WriteBrotliData(false, true, &out_bytes, 
&output);` The first `false` means it is not the final block, second `true` 
means to flush the buffer. In `handleInputComplete()`, call 
`WriteBrotliData(true, false, &out_bytes, &output);` to write the final block, 
it will flush the buffer automatically.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to