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:
Ryan Williams
2009-08-23 17:54:50 -07:00
parent cb6c025a0a
commit 620aaa9108

View File

@@ -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 ''