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

fix: server will ignore last data when Read return n,EOF #15

Merged
merged 2 commits into from
May 5, 2023

Conversation

wzekin
Copy link
Contributor

@wzekin wzekin commented Apr 18, 2023

What type of PR is this?

fix

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

bodyStream.Read 返回 n, EOF 的时候,server 会直接丢弃掉这次 Read 的数据

Which issue(s) this PR fixes:

@wzekin wzekin force-pushed the fix/server_ignore_data branch from 5c944cc to 1da5325 Compare April 18, 2023 06:59
server.go Outdated Show resolved Hide resolved
@wzekin wzekin force-pushed the fix/server_ignore_data branch from 1da5325 to e9d2f75 Compare April 19, 2023 02:37
server.go Outdated Show resolved Hide resolved
server.go Outdated Show resolved Hide resolved
@wzekin wzekin force-pushed the fix/server_ignore_data branch from 2197b92 to b99de21 Compare May 5, 2023 07:21
@Duslia Duslia merged commit 24c7527 into hertz-contrib:main May 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants