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

2016-12-12 Thread Ben Pfaff
On Wed, Dec 07, 2016 at 07:36:14PM +0530, Numan Siddique wrote: > On Wed, Dec 7, 2016 at 12:08 PM, Guoshuai Li 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

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

2016-12-07 Thread Numan Siddique
On Wed, Dec 7, 2016 at 12:08 PM, Guoshuai Li 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 c

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

2016-12-06 Thread Guoshuai Li
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 err