Skip to content

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

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

Merged
merged 2 commits into from
Apr 15, 2025
Merged

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