<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body bgcolor="#ffffff" text="#000000">
<font size="+1">I am using LNet 's SSL sockets on ubuntu.<br>
When I use a self signed certificate and the browser gets a warning, it
seems the browser immediately send a close-notify or shutdown ssl
signal to the server and then without waiting close the connection.<br>
<br>
On my server side (written with Lnet SSL), it did not know the
connection was closed already and still thinking of handling the
close-notify + shutdown tries to shutdown the SSL on its side and then
encounter the serious PIPE error (which I guess it tries to send
acknowledge of the close-notify/shutdown back to the browser) when the
pip is already closed. I guess Lnet SSL implementation is not aware
that the other side can close the connection without waiting for its
acknowledgement.<br>
<br>
This external SIGPIPE immediately crash the program even though the
original Lnet codes has a try except block.<br>
<br>
Is there something I can do to trap this external SIGPIPE? <br>
<br>
(I tried emaillng the author but no response for weeks).<br>
<br>
Thanks a lot in advance.<br>
<br>
Dennis Poon<br>
</font>
</body>
</html>