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

Allow client config of WebSocket per message deflate #10357

Merged
merged 16 commits into from
Jan 23, 2024

Conversation

jeremyg484
Copy link
Contributor

Add a configuration property to HttpClientConfiguration that allows the enabling or disabling of per message deflate for WebSocket clients. Defaults to true in order to preserve the existing behavior.

This potentially resolves #7711

This PR is from a new branch based on 4.3.x and replaces #7809

Other related WebSocket configuration bits potentially worth supporting are captured in #9162

Add a configuration property to HttpClientConfiguration that allows the
enabling or disabling of per message deflate. Defaults to true in
order to preserve the existing behavior.

Resolves #7711
@jeremyg484 jeremyg484 self-assigned this Jan 10, 2024
@jeremyg484 jeremyg484 requested a review from sdelamo January 10, 2024 16:23
@jeremyg484
Copy link
Contributor Author

@sdelamo Updated PR to 4.3.x. #7809 can be closed in favor of this one, assuming we're not trying to back port the feature to 3.x.

@sdelamo sdelamo requested a review from timyates January 12, 2024 05:52
@timyates
Copy link
Contributor

@jeremyg484 :http-client-jdk:compileTestGroovy is failing...

@jeremyg484
Copy link
Contributor Author

@jeremyg484 :http-client-jdk:compileTestGroovy is failing...

I'll check it out, thanks for the heads up.

Copy link
Contributor

@sdelamo sdelamo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a breaking change.

Copy link

Quality Gate Failed Quality Gate failed

Failed conditions

63.0% Coverage on New Code (required ≥ 70%)

See analysis details on SonarCloud

@jeremyg484 jeremyg484 requested a review from sdelamo January 22, 2024 16:07
@sdelamo sdelamo merged commit d07ddbb into 4.3.x Jan 23, 2024
14 of 15 checks passed
@sdelamo sdelamo deleted the per-message-deflate-4.3.x branch January 23, 2024 05:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Status: Done
Development

Successfully merging this pull request may close these issues.

DefaultHttpClient no way to turn off compression
3 participants