I saw in the linux source code that it uses fork and pthread, i think that's 
the way it handles multiple requests



________________________________
 From: Gert Doering <g...@greenie.muc.de>
To: ehsan enayati <ehsan_e...@yahoo.com> 
Cc: "openvpn-devel@lists.sourceforge.net" <openvpn-devel@lists.sourceforge.net> 
Sent: Monday, September 24, 2012 12:48 PM
Subject: Re: [Openvpn-devel] multi threading support
 
Hi,

On Mon, Sep 24, 2012 at 02:00:46AM -0700, ehsan enayati wrote:
> Hi, i wanna know how does openvpn server handles multiple requests?
> for example if there is an active connection with a client on 1194
> port and another requests from some other client comes in what will
> happen? Is this task managed in operating system or by openvpn
> itself?

OpenVPN itself (single-threaded with smart work queues).

Multi-Threading might happen in OpenVPN 3.0.

gert

-- 
USENET is *not* the non-clickable part of WWW!
                                                           //www.muc.de/~gert/
Gert Doering - Munich, Germany                            g...@greenie.muc.de
fax: +49-89-35655025                        g...@net.informatik.tu-muenchen.de

Reply via email to