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

warp: Allow sending response while consuming request? #78

Closed
snoyberg opened this issue Jun 5, 2012 · 0 comments
Closed

warp: Allow sending response while consuming request? #78

snoyberg opened this issue Jun 5, 2012 · 0 comments

Comments

@snoyberg
Copy link
Member

snoyberg commented Jun 5, 2012

Currently, to avoid deadlocks, Warp flushes the request body before sending the response body. Perhaps it would be better to send the response body first. This could in theory cause problems for some HTTP clients. See discussion on StackOverflow:

http://stackoverflow.com/questions/10807824/unexpected-conduit-behaviour-with-wai

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