Brought api_test up to date with code changes, the daggy fix approach appears to have not worked so well just now. I've finally decided that masking the ZeroReturnError is not correct (naked SSLConnection objects raise it), and therefore expect it in the ssl test.
This commit is contained in:
@@ -613,8 +613,6 @@ class GreenSSL(GreenSocket):
|
||||
write=True,
|
||||
timeout=self.timeout,
|
||||
timeout_exc=socket.timeout)
|
||||
except SSL.ZeroReturnError:
|
||||
return ''
|
||||
except SSL.SysCallError, e:
|
||||
if e[0] == -1 or e[0] > 0:
|
||||
return ''
|
||||
|
Reference in New Issue
Block a user