A non-negative integer.
detaches the SSL from the socket-stream
is not attached to an SSL,
just returns immediately. Otherwise, it detaches the SSL from
, tries to shut down the SSL cleanly, and then frees the objects that were allocated by attach-ssl.
specifies the time in seconds to wait between each of the calls to
. If it fails to get a successful shudown after these attempts,
signals an error. The default value of
Note that the shutdown calls happen after the SSL has been detached from socket-stream as far as LispWorks is concerned, so if an error occurs at this point and is aborted, socket-stream can be used in attach-ssl again (assuming that the peer can cope with this situation).