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

处理304错误号有bug,会崩溃 #90

Open
ComradeFu opened this issue Mar 16, 2022 · 1 comment · May be fixed by #91
Open

处理304错误号有bug,会崩溃 #90

ComradeFu opened this issue Mar 16, 2022 · 1 comment · May be fixed by #91

Comments

@ComradeFu
Copy link

原因是 api/Etag 的处理没有 return true;
导致 res.end() 两次(一次在 Etag 的handle里,一次在外面的调用)。

The reason is that the api/Etag handling does not return true;
resulting in res.end() being called twice (once in the handle of the Etag and once outside).

@dermasmid
Copy link

the error is
Error [ERR_STREAM_WRITE_AFTER_END]: write after end

@dermasmid dermasmid linked a pull request Apr 9, 2022 that will close this issue
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 a pull request may close this issue.

2 participants