References: <1348477246.32678.YahooMailNeo@...1765...> <20120924091835.GX742@...1296...> Message-ID: <1348557760.30714.YahooMailNeo@...1772...> Date: Tue, 25 Sep 2012 00:22:40 -0700 (PDT) From: ehsan enayati In-Reply-To: <20120924091835.GX742@...1296...> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="-83809723-1554305443-1348557760=:30714" Subject: Re: [Openvpn-devel] multi threading support Reply-To: ehsan enayati List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Gert Doering Cc: "openvpn-devel@lists.sourceforge.net" ---83809723-1554305443-1348557760=:30714 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable 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 To: ehsan enayati =20 Cc: "openvpn-devel@lists.sourceforge.net" =20 Sent: Monday, September 24, 2012 12:48 PM Subject: Re: [Openvpn-devel] multi threading support =20 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 --=20 USENET is *not* the non-clickable part of WWW! =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0= =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 //www.muc.de/~gert/ Gert Doering - Munich, Germany=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 gert@...1296... fax: +49-89-35655025=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 gert@...1186...= .1297...= ---83809723-1554305443-1348557760=:30714 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
I saw in the linux source code t= hat it uses fork and pthread, i think that's the way it handles multiple re= quests


From: G= ert Doering <gert@...1296...>
To: ehsan enayati <ehsan_en85@...109...>
Cc: "openvpn-devel@...282...= .net" <openvpn-devel@lists.sourceforge.net>
Sent: Monday, September 24, 2012 12:48 PM
= Subject: Re: [Openvpn-deve= l] 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?<= br>> for example if there is an active connection with a client on 1194<= br>> 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!
     =                     &nbs= p;                     &n= bsp;         //www.muc.de/~gert/
Gert Doering - Mun= ich, Germany                  =           gert@...1186...= .1296...
fax: +49-89-35655025          &nbs= p;             gert@...1297...


= ---83809723-1554305443-1348557760=:30714--