Commit 2bb48673 authored by Shigeki Ohtsu's avatar Shigeki Ohtsu Committed by Fedor Indutny
Browse files

tls: fix to send TLS Alert before socket destroyed



When TLS Alert is occured in handshake, ClearOut only write it into
wbio and does not flush to socket. TLS Alert should be written to
socket with EncOut before socket is destroyed within its error
callback.

Signed-off-by: default avatarFedor Indutny <fedor@indutny.com>
parent 300dd349
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment