trantor
trantor copied to clipboard
Keep SSL connection half-open when peer EOF
OpenSSL will falsely trigger SSL_ERROR_SYSCALL
when it tries to read from a socket closed by it's peer (reference, see the BUGS section). Trantor doesn't properly handle this edge case and causes the entire socket to be closed upon peer closing the socket.