[openssl-users] Shutdown details

Alex H alexhultman at gmail.com
Wed Aug 1 18:15:37 UTC 2018

I would appreciate an answer to this question, it's holding me back and
should be a simple yes/no.

And yes, "client_notify" is a typo and should be "close_notify".


Den ons 1 aug. 2018 kl 08:27 skrev Alex H <alexhultman at gmail.com>:

> Hi,
> I have trouble understanding the details of TLS shutdown. I get the basics
> but,
> Is it possible to receive data after calling SSL_shutdown? Reading the
> specs and docs leaves this rather blurry.
> That is, after sending a close_notify, can I receive data before getting
> my client_notify response?
> The sources of SSL_write checks for SSL_SENT_SHUTDOWN state and returns
> with error if set, but does not check for SSL_RECEIVED_SHUTDOWN. This
> indicates somehow I'm allowed to still send data after received a
> close_notify?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mta.openssl.org/pipermail/openssl-users/attachments/20180801/ce83f007/attachment.html>

More information about the openssl-users mailing list