tls: fix to send TLS Alert before socket destroyed #7961

Closed
wants to merge 1 commit into
from
Commits on Jul 17, 2014
  1. tls: fix to send TLS Alert before socket destroyed

    shigeki committed Jul 17, 2014
    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.