[ovs-dev] [PATCH] python: Catch exception "SSL.SysCallError" for send by SSL.

Ben Pfaff blp at ovn.org
Sat Jan 14 16:51:45 UTC 2017


On Sat, Jan 07, 2017 at 02:28:35PM +0800, Guoshuai Li wrote:
> When OVSDB server is aborted,
> the SSL send function will throw SSL.SysCallError exception,
> which we need to catch and return it's -errno.
> 
> While SSL.WantWriteError exception needs to return -EAGAIN
> based on its parent class, not EAGAIN
> 
> Signed-off-by: Guoshuai Li <ligs at dtdream.com>

Thanks, applied to master.


More information about the dev mailing list