-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Closed
Labels
Description
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.