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

[WIP]fix: resp bodystream cannot repeat reset #1242

Closed
wants to merge 1 commit into from

Conversation

Duslia
Copy link
Member

@Duslia Duslia commented Dec 1, 2024

What type of PR is this?

fix

Check the PR title.

  • This PR title match the format: <type>(optional scope): <description>
  • The description of this PR title is user-oriented and clear enough for others to understand.
  • Attach the PR updating the user documentation if the current PR requires user awareness at the usage level. User docs repo

(Optional) Translate the PR title into Chinese.

resp 的 bodystream 不能够重复释放

(Optional) More detailed description for this PR(en: English/zh: Chinese).

en: When the bodystream is released repeatedly, the same bodystream will be put back into the pool twice. When the client initiates requests later, it may cause two requests to hold the same bodystream, resulting in a panic.
zh(optional): 在重复释放 bodystream 时,同一个 bodystream 会被放回池子两次,在之后 client 发起请求时,可能会导致两个请求持有了同一个 bodystream 导致 panic。

(Optional) Which issue(s) this PR fixes:

(Optional) The PR that updates user documentation:

@Duslia Duslia requested review from a team as code owners December 1, 2024 03:14
@Duslia Duslia changed the title fix: resp bodystream cannot repeat reset [WIP]fix: resp bodystream cannot repeat reset Dec 1, 2024
@Duslia Duslia closed this Dec 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant