[openssl-users] Query regarding MSG_NOSIGNAL with SSL_Write
mahesh gs
mahesh116 at gmail.com
Thu Apr 27 10:56:22 UTC 2017
Hi,
We are using Openssl for establish a secure communications for both
TCP/SCTP connections.
In our application it is possible that remote end forcefully disconnect the
connection due to which
SSL_Write raises a SIGPIPE which we want to suppress. Does openssl
provide any way to set MSG_NOSIGNAL on sendmsg (Underlying TCP/IP socket
layer) ?
Unfortunately we cannot use "setsockopt" with "SO_NOSIGPIPE" as it is not
supported by LINUX
and also we are unable to stop the SIGPIPE with function call
signal(SIGPIPE, SIG_IGN).
Thanks,
Mahesh G S
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mta.openssl.org/pipermail/openssl-users/attachments/20170427/9d77ebd6/attachment.html>
More information about the openssl-users
mailing list