[beast] thread per connection example?
Suppose that I want to implement an HTTP server that uses the thread per connection model. What example should I use as a starting point?
On Sun, Jul 2, 2017 at 7:49 AM, Peter Dimov via Boost
Suppose that I want to implement an HTTP server that uses the thread per connection model. What example should I use as a starting point?
This framework Port creates a new thread for each connection: https://github.com/vinniefalco/Beast/blob/78a065ba39836d91d7e70d93de7f9140f5... Thanks
Vinnie Falco wrote:
On Sun, Jul 2, 2017 at 7:49 AM, Peter Dimov via Boost
wrote: Suppose that I want to implement an HTTP server that uses the thread per connection model. What example should I use as a starting point?
This framework Port creates a new thread for each connection: https://github.com/vinniefalco/Beast/blob/78a065ba39836d91d7e70d93de7f9140f5...
Thanks, this would have to do. It's a bit on the complex side, and the ASIO echo example is too simple, but such is life. This doesn't look correct by the way: https://github.com/vinniefalco/Beast/blob/78a065ba39836d91d7e70d93de7f9140f5...
participants (2)
-
Peter Dimov
-
Vinnie Falco