I am using LNet 's SSL sockets on ubuntu.
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.

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.

This external SIGPIPE immediately crash the program even though the original Lnet codes has a try except block.

Is there something I can do to trap this external SIGPIPE?

(I tried emaillng the author but no response for weeks).

Thanks a lot in advance.

Dennis Poon
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to