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

feat: add gzip, deflate, brotli, zstd compressed for reqwest #886

Merged
merged 1 commit into from
Dec 5, 2024

Conversation

gaius-qi
Copy link
Member

@gaius-qi gaius-qi commented Dec 5, 2024

Description

This pull request includes several changes to improve the compression capabilities and default settings of the Dragonfly client. The most important changes include adding support for various compression algorithms in the reqwest client and updating the default download piece timeout.

Enhancements to compression capabilities:

Update to default settings:

Related Issue

dragonflyoss/dragonfly#3676
dragonflyoss/dragonfly#3675

Motivation and Context

Screenshots (if appropriate)

@gaius-qi gaius-qi added the enhancement New feature or request label Dec 5, 2024
@gaius-qi gaius-qi added this to the v1.0.0 milestone Dec 5, 2024
@gaius-qi gaius-qi self-assigned this Dec 5, 2024
@gaius-qi gaius-qi requested a review from a team as a code owner December 5, 2024 09:57
Copy link

codecov bot commented Dec 5, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 33.82%. Comparing base (6e25a2f) to head (25ed296).
Report is 1 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #886   +/-   ##
=======================================
  Coverage   33.82%   33.82%           
=======================================
  Files          59       59           
  Lines        9021     9021           
=======================================
  Hits         3051     3051           
  Misses       5970     5970           
Files with missing lines Coverage Δ
dragonfly-client-backend/src/http.rs 98.01% <ø> (ø)
dragonfly-client-backend/src/object_storage.rs 84.33% <ø> (ø)
dragonfly-client-config/src/dfdaemon.rs 47.73% <100.00%> (ø)

Copy link
Member

@chlins chlins left a comment

Choose a reason for hiding this comment

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

lgtm

@gaius-qi gaius-qi merged commit d8f0931 into main Dec 5, 2024
6 checks passed
@gaius-qi gaius-qi deleted the feature/reqwest branch December 5, 2024 10:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants