'Multiple HTTP active sessions connected to an application
Given a C++-application running on a linux-pc. It has an integrated webserver associated with one thread.
Considering that, is it possible to have more than one client (active HTTP-Sessions) connected to the webserver ?
In my mind, I always though we need something like a thread pool in the webserver task. Acceptor threads on a listen socket accept new connection and put it into a connection queue. The task will then pick up connections and service requests.
Is there any possibilities to have multiple session with one thread ?
Many thanks
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|