Skip to content

Connection: keep-alive #2

@FreeMasen

Description

@FreeMasen

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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions