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

Abort uploads? #11

Open
novemberborn opened this issue Jan 31, 2011 · 0 comments
Open

Abort uploads? #11

novemberborn opened this issue Jan 31, 2011 · 0 comments

Comments

@novemberborn
Copy link
Contributor

If you're POSTing large binary data, the server might reject the POST with a 400 Bad Request error if the request is too large. I've been trying to figure out how to realize this from Promised-IO.

Switching body.forEach to body.every and returning true as long as writing is permitted should provide enough back-pressure to the body and finish the request. However, it looks like the response is never handled until the request is ended.

Is this something in Node? Or perhaps in JSGI (which is managing the other end of the connection)?

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