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

In HTTP 1.1, all connections are considered persistent unless declared otherwise #12

Open
jorisvink opened this issue May 10, 2018 · 1 comment

Comments

@jorisvink
Copy link

https://github.com/roecrew/cerver/blob/2bee9b0ca1fbe67bd82500c07e61d8db8a7cdaf4/main.c#L214

Your code assumes a client did not request a connection to be closed, as it always sends keep-alive headers.

@maelswarm
Copy link
Owner

Now it's the opposite.
All are considered closed and keep-alive is ignored.

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

2 participants