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: req end event isn't called because res.end is called before #65

Merged
merged 1 commit into from Oct 15, 2019

Conversation

HugoPoi
Copy link
Contributor

@HugoPoi HugoPoi commented Sep 14, 2019

Fixing instant-markdown/vim-instant-markdown#171
I think due to change in HTTP low level implementation of Nodejs 10.x or 12.x but the orginal code is wrong because res.end() was called before events handling was done. So the end is never trigger in some nodejs implementation especially nodejs 12.x.

This issue in nodejs repo confirm my thoughts.
We should implement the close event too.

@ashwinvis ashwinvis merged commit 61f0d78 into instant-markdown:master Oct 15, 2019
@ashwinvis
Copy link
Collaborator

Looks good. Thanks!

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.

None yet

2 participants