Skip to content

chore: replace brotli dependency with go-brrr - #544

Open
SugarMGP wants to merge 1 commit into
imroc:masterfrom
SugarMGP:replace-brotli-with-go-brrr
Open

SugarMGP wants to merge 1 commit into
imroc:masterfrom
SugarMGP:replace-brotli-with-go-brrr

Conversation

@SugarMGP

@SugarMGP SugarMGP commented Oct 5, 2026

Copy link
Copy Markdown

Replace the direct github.com/andybalholm/brotli dependency with github.com/molecule-man/go-brrr for Brotli response decoding.

go-brrr exposes the same NewReader(io.Reader) shape and provides a faster pure-Go implementation. This follows the recommendation in andybalholm/brotli#63, where the maintainer points to go-brrr as a performance-oriented rewrite.

Validation:

  • go build ./...
  • go test ./internal/... ./http2 ./pkg/...
  • go test ./internal/compress
  • go vet ./internal/compress

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant