Skip to content
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

Drop jzlib dependency #465

Merged
merged 1 commit into from
Feb 1, 2025
Merged

Drop jzlib dependency #465

merged 1 commit into from
Feb 1, 2025

Conversation

valfirst
Copy link
Owner

@valfirst valfirst commented Feb 1, 2025

Originally jzlib depdency was added to support defalte decompression, this library was optional in netty: https://github.com/lightbody/browsermob-proxy/pull/225/files.
Over time JDK zlib decompression support was added to netty: netty/netty#1481. And then this implemnetation became default: netty/netty#4707.
It makes jzlib dependency redundant, as JDK based implmentation is used. If someone needs to use jzlib dependency, then it's required to set the corresponding netty flag and to add this library explicitly to the local project dependencies.

Originally `jzlib` depdency was added to support defalte decompression, this library was optional in netty: https://github.com/lightbody/browsermob-proxy/pull/225/files.
Over time JDK zlib decompression support was added to netty: netty/netty#1481.
And then this implemnetation became default: netty/netty#4707.
It makes `jzlib` dependency redundant, as JDK based implmentation is used. If someone needs to use `jzlib` dependency, then it's required to set the corresponding netty flag and to add this library explicitly to the local project dependencies.
@valfirst valfirst merged commit eb5707d into main Feb 1, 2025
1 check passed
@valfirst valfirst deleted the drop-jzlib-dependency branch February 1, 2025 20:59
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