OpenSSL returns 0 when the peer has closed the connection. GnuTLS doesn't return that though, but returns GNUTLS_E_UNEXPECTED_PACKET_LENGTH if the connection simply is closed without a clean close notify packet. Tested-by: Antti Seppälä <a.seppala@gmail.com> Signed-off-by: Martin Storsjö <martin@martin.st>pull/28/head
parent
76888c64b0
commit
41ecbbc7aa
1 changed files with 2 additions and 2 deletions
Loading…
Reference in new issue