Skip to content

Comments

feat(core): Use Buffer as http_body::Body directly#6026

Merged
Xuanwo merged 2 commits intomainfrom
optimize-http
Apr 15, 2025
Merged

feat(core): Use Buffer as http_body::Body directly#6026
Xuanwo merged 2 commits intomainfrom
optimize-http

Conversation

@Xuanwo
Copy link
Member

@Xuanwo Xuanwo commented Apr 15, 2025

Which issue does this PR close?

Closes #4461

Rationale for this change

As mentioned in #4461

What changes are included in this PR?

Use Buffer as body directly.

Are there any user-facing changes?

No.

@dosubot dosubot bot added size:M This PR changes 30-99 lines, ignoring generated files. core releases-note/feat The PR implements a new feature or has a title that begins with "feat" labels Apr 15, 2025
Signed-off-by: Xuanwo <[email protected]>
@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Apr 15, 2025
@Xuanwo Xuanwo merged commit 78d4337 into main Apr 15, 2025
280 checks passed
@Xuanwo Xuanwo deleted the optimize-http branch April 15, 2025 10:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

core lgtm This PR has been approved by a maintainer releases-note/feat The PR implements a new feature or has a title that begins with "feat" size:M This PR changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Impl HttpBody instead of Stream for reqwest to reduce the extra cost

2 participants