Skip to content

Non-blocking HTTP handler #425

@zaphoyd

Description

@zaphoyd

Right now the http handler is a blocking handler. The entire HTTP response must be generated, buffered, and returned inline in the network thread. While this is happening, the network thread is blocked. This severely limits certain types of long running operations (like database connections and disk I/O) from being used to serve HTTP connections.

A non-blocking HTTP handler would allow more sophisticated HTTP handling in WebSocket++ applications. This is a prerequisite for reverse proxy functionality #266.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions