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

optimize: ignore EOF when read a closed connection #273

Merged
merged 1 commit into from
Jul 13, 2023

Conversation

joway
Copy link
Member

@joway joway commented Jul 13, 2023

What type of PR is this?

optimize

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.

optimize: 当读取一个已经关闭连接时,忽略 EOF 错误

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

en: When a connection closed but still have some data could be read, it will read all left data until EOF. So need to ignore EOF error.
zh(optional):

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

(optional) The PR that updates user documentation:

@joway joway requested review from a team as code owners July 13, 2023 06:59
@joway joway merged commit 1cc5e8a into develop Jul 13, 2023
@joway joway deleted the optimise/ignore-eof branch July 13, 2023 07:20
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.

2 participants