Skip to content
This repository was archived by the owner on Jan 29, 2026. It is now read-only.

modify to use the io.WriterTo interface if the body stream implements…#35

Open
sasgas wants to merge 2 commits intohertz-contrib:mainfrom
sasgas:main
Open

modify to use the io.WriterTo interface if the body stream implements…#35
sasgas wants to merge 2 commits intohertz-contrib:mainfrom
sasgas:main

Conversation

@sasgas
Copy link

@sasgas sasgas commented Jul 10, 2025

What type of PR is this?

optimize: A new optimization

What this PR does / why we need it (English/Chinese):

modify to use the io.WriterTo interface if the body stream implements it, similar to copyBuffer in 'hertz/pkg/common/utils/ioutils.go'

Which issue(s) this PR fixes:

@DMwangnima
Copy link
Contributor

Since cloudwego/hertz#1391 has been closed, pls submit a issue to clarify your problem and solution.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants