Skip to content

Http1 brotli 5692 v2 #13025

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 4 commits into from
Closed

Conversation

catenacyber
Copy link
Contributor

Link to ticket: https://redmine.openinfosecfoundation.org/issues/
https://redmine.openinfosecfoundation.org/issues/5692

Describe changes:

  • http1: support brotli decompression

SV_BRANCH=OISF/suricata-verify#2441

#13014 with a new commit to keep code coverage profraw smaller and CI green for suricata verify codecov

Looks like zstd is another algorithm we miss cf https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Content-Encoding

Ticket: 5692

http2 already used brotli crate for decompression
To keep the disk usage good even when we use new crates
@catenacyber catenacyber requested review from jasonish and a team as code owners April 15, 2025 14:42
@catenacyber catenacyber marked this pull request as draft April 15, 2025 14:51
@catenacyber catenacyber mentioned this pull request Apr 15, 2025
@suricata-qa
Copy link

Information: QA ran without warnings.

Pipeline 25706

@jasonish
Copy link
Member

Any idea how much disk space this saves? Or will it just a short term band-aid?

@catenacyber
Copy link
Contributor Author

catenacyber commented Apr 16, 2025

Any idea how much disk space this saves? Or will it just a short term band-aid?

Profraw files go from 4.2M to 1.7M each locally.
(enabling external crates but not suricata, I get 2.3M)

Do you want me to test CI ?

@catenacyber
Copy link
Contributor Author

Clean in #13031

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants