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

Connection: keep-alive #2

Open
FreeMasen opened this issue Jul 11, 2021 · 0 comments
Open

Connection: keep-alive #2

FreeMasen opened this issue Jul 11, 2021 · 0 comments
Assignees

Comments

@FreeMasen
Copy link
Contributor

Currently this server doesn't hold open accepted sockets, except for the SSE handler. According to the specification, we should be holding open accepted sockets when the header Connection: keep-alive is part of a request. This will require selecting any kept alive sockets along with the Server.sock property to then dispatch requests as they arrive.

note: This requires that all incoming requests contain a Content-Length header, as chunked encoding is not supported at this time.

@FreeMasen FreeMasen self-assigned this Jul 12, 2021
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