Previously, we were only checking for UV_EOF. But if an error
occurred other than UV_EOF it was possible for us to continue
reading from the connection and end up terminating the kssl_server
with a libuv exception:
uv_read: Assertion `!uv_io_active(&stream->io_watcher, 1)
&& "stream->read_cb(status=-1) did not call uv_close()"'
Previously, we were only checking for UV_EOF. But if an error occurred other than UV_EOF it was possible for us to continue reading from the connection and end up terminating the kssl_server with a libuv exception:
(Internal CloudFlare note: this is KEY-12)