[ovs-dev] [PATCH V3] python: Fix The SSL connection is not reconnected when the OVSDB Server is restarted

Ben Pfaff blp at ovn.org
Mon Dec 12 22:43:16 UTC 2016


On Wed, Dec 07, 2016 at 07:36:14PM +0530, Numan Siddique wrote:
> On Wed, Dec 7, 2016 at 12:08 PM, Guoshuai Li <ligs at dtdream.com> wrote:
> 
> > the do_handshake() function throws the exception OpenSSL.SSL.SysCallError
> > when the peer's SSL connection is closed,
> > And the recv() function also throws the exception OpenSSL.SSL.SysCallError
> > when the peer's SSL connection is abnormally closed,
> > we need to catch the exception and return error's errno.
> >
> > And the recv() function also throws the exception
> > OpenSSL.SSL.ZeroReturnError when the peer's SSL connection is normal closed.
> > This exception refers to TCP connection normal closed, return (0, "")
> >
> > Signed-off-by: Guoshuai Li <ligs at dtdream.com>
> >
> >
> ​Acked-by: Numan Siddique <nusiddiq at redhat.com>

Thanks, applied to master.


More information about the dev mailing list