Two issues with Netplex

Thomas Calderon <[email protected]> Thu, 7 Nov 2013 19:34:15 +0100
Newsgroups gmane.comp.lang.ocaml.lib.net.devel
Message-ID <CA+1ewKa_yNmSYsH4ZVugbXOADaUzGgwKhfcXb86YLNXu5VY=uA@mail.gmail.com>
--===============3213529033473353193==
Content-Type: multipart/alternative; boundary=20cf30363fa1789dd504ea9a8480

--20cf30363fa1789dd504ea9a8480
Content-Type: text/plain; charset=UTF-8

Hi there,

I am having two issues with netplex at the moment.

The first one is related to rpc-ssl support. The netplex service is
configured with SSL enabled (TLSv1) and if you are connecting with a client
that forces newer TLS versions (openssl s_client -connect host:port
-tls1_1), an Ssl exception is raised.
However, the container process still continues to run but is not able to
process any data, netplex then spawn a new child process to handle
subsequent connections.
>From the client side, the socket is closed and we end up not knowing in
which state the "zombie" container is.
We looked for a proper way to fix this in our code, but the exception is
caught from within rpc_netplex.ml (line 183), is there a proper way to
handle this case from our code or is it only a fix you can provide ?

The second issue is related the function "Netplex_cenv.system_shutdown()".
This function can be used to completely shutdown the service, I would like
to know if it is possible to restrict this function to be only callable
from within the controller instance ? This way a container process could
not call this function and stop the service and all the other containers
from running.

Thanks.

Thomas C.

--20cf30363fa1789dd504ea9a8480
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Hi there,<div><br></div><div>I am having two issues with n=
etplex at the moment.</div><div><br></div><div>The first one is related to =
rpc-ssl support. The netplex service is configured with SSL enabled (TLSv1)=
 and if you are connecting with a client that forces newer TLS versions (op=
enssl s_client -connect host:port -tls1_1), an Ssl exception is raised.</di=
v>

<div>However, the container process still continues to run but is not able =
to process any data, netplex then spawn a new child process to handle subse=
quent connections.=C2=A0</div><div>From the client side, the socket is clos=
ed and we end up not knowing in which state the &quot;zombie&quot; containe=
r is.</div>

<div>We looked for a proper way to fix this in our code, but the exception =
is caught from within <a href=3D"http://rpc_netplex.ml">rpc_netplex.ml</a> =
(line 183), is there a proper way to handle this case from our code or is i=
t only a fix you can provide ?</div>

<div><br></div><div>The second issue is related the function &quot;Netplex_=
cenv.system_shutdown()&quot;. This function can be used to completely shutd=
own the service, I would like to know if it is possible to restrict this fu=
nction to be only callable from within the controller instance ? This way a=
 container process could not call this function and stop the service and al=
l the other containers from running.</div>

<div><br></div><div>Thanks.</div><div><br></div><div>Thomas C.</div><div><b=
r></div></div>

--20cf30363fa1789dd504ea9a8480--


--===============3213529033473353193==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

------------------------------------------------------------------------------
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most 
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
--===============3213529033473353193==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Ocamlnet-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ocamlnet-devel

--===============3213529033473353193==--