[ovs-git] [openvswitch/ovs] 5fe179: Shutdown SSL connection before closing socket
Terry Wilson
noreply at github.com
Fri Jul 12 17:36:58 UTC 2019
Branch: refs/heads/master
Home: https://github.com/openvswitch/ovs
Commit: 5fe179987d14ff38cce345dbbe57ef1ffe7853cc
https://github.com/openvswitch/ovs/commit/5fe179987d14ff38cce345dbbe57ef1ffe7853cc
Author: Terry Wilson <twilson at redhat.com>
Date: 2019-07-12 (Fri, 12 Jul 2019)
Changed paths:
M python/ovs/stream.py
Log Message:
-----------
Shutdown SSL connection before closing socket
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>
Signed-off-by: Ben Pfaff <blp at ovn.org>
More information about the git
mailing list