[ovs-git] [openvswitch/ovs] 871a38: python: Catch exception "SSL.SysCallError" for sen...
noreply at github.com
Sat Jan 14 16:50:38 UTC 2017
Author: Guoshuai Li <ligs at dtdream.com>
Date: 2017-01-14 (Sat, 14 Jan 2017)
python: Catch exception "SSL.SysCallError" for send by SSL.
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>
Signed-off-by: Ben Pfaff <blp at ovn.org>
More information about the git