Fixed test_connect_ssl
This commit is contained in:
@@ -578,12 +578,14 @@ class GreenSSL(GreenSocket):
|
|||||||
return self.fd.issuer()
|
return self.fd.issuer()
|
||||||
|
|
||||||
def dup(self):
|
def dup(self):
|
||||||
raise NotImplemented("Dup not supported on SSL sockets")
|
raise NotImplementedError("Dup not supported on SSL sockets")
|
||||||
|
|
||||||
def makefile(self, *args, **kw):
|
def makefile(self, *args, **kw):
|
||||||
self._refcount.increment()
|
self._refcount.increment()
|
||||||
return GreenFile(type(self)(self.fd, refcount = self._refcount))
|
return GreenFile(type(self)(self.fd, refcount = self._refcount))
|
||||||
|
|
||||||
|
makeGreenFile = makefile
|
||||||
|
|
||||||
def close(self):
|
def close(self):
|
||||||
self._refcount.decrement()
|
self._refcount.decrement()
|
||||||
if self._refcount.is_referenced():
|
if self._refcount.is_referenced():
|
||||||
|
Reference in New Issue
Block a user