[ovs-dev] [PATCH v2] Shutdown SSL connection before closing socket
twilson at redhat.com
Thu Jul 25 16:39:59 UTC 2019
Thanks! Could I get a backport to whatever branches backports are still
available for? I tested that it applied cleanly on 2.9 and passed tests
there. That code hasn't changed in a while.
On Tue, Jul 16, 2019 at 12:20 PM Ben Pfaff <blp at ovn.org> wrote:
> On Thu, Jul 11, 2019 at 08:00:20AM -0500, Terry Wilson wrote:
> > Without shutting down the SSL connection, log messages like:
> > stream_ssl|WARN|SSL_read: unexpected SSL connection close
> > jsonrpc|WARN|ssl:127.0.0.1:47052: receive error: Protocol error
> > reconnect|WARN|ssl:127.0.0.1:47052: connection dropped (Protocol error)
> > would occur whenever the socket is closed. This just adds an
> > SSLStream.close() that calls shutdown() and ignores SSL errors, the
> > same way that lib/stream-ssl.c does in ssl_close().
> > Signed-off-by: Terry Wilson <twilson at redhat.com>
> I applied this to master a few days ago, but it looks like I forgot to
> point it out at the time.
More information about the dev