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

Cannot res.send() in on End event #73

Open
rllewellyn opened this issue May 18, 2016 · 0 comments
Open

Cannot res.send() in on End event #73

rllewellyn opened this issue May 18, 2016 · 0 comments

Comments

@rllewellyn
Copy link

Using 4.31.1 - this may be my lack of understanding middleware - but is there a reason I cannot use res.send(someData) from the upload.on('end', function(){}); event??

This always generates " Error: Can't set headers after they are sent." and kills node.

youtakanke added a commit to youtakanke/jquery-file-upload-middleware that referenced this issue Feb 27, 2019
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

No branches or pull requests

1 participant