-
Notifications
You must be signed in to change notification settings - Fork 174
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
cohttp-eio hangs with curl #883
Comments
I may need to refresh my recollection of HTTP/1.1 spec but the connection is not supposed to be closed even after an error reply, no? Will adding header |
In one of the earlier incarnations of |
Just as a curiosity, what happens if you do the same |
Lwt works:
The example server is just using |
Using today's origin/master, curl hangs if you request a page from the example server that doesn't exist.
I ran the server with:
Then ran the test client:
It looks like curl is waiting for the connection to close, while cohttp is waiting for the next request. Perhaps there should be some size information sent for empty responses?
/cc @bikallem
The text was updated successfully, but these errors were encountered: