(self)
Closes the SSL connection
Closes the SSL connection
Closes the SSL connection
def close(self):
        """
        Closes the SSL connection
        """
        # XXX Normally sock.makefile does a dup() on the socket file
        # descriptor; httplib relies on this, but there is no dup for an ssl
        # connection; so we have to count how may times makefile() was called
        if self._closed:
            # Nothing to do
            return
        if not self._makefile_called:
            self._really_close()
            return
        self._makefile_called = self._makefile_called - 1
def close ( self ) : # XXX Normally sock.makefile does a dup() on the socket file # descriptor; httplib relies on this, but there is no dup for an ssl # connection; so we have to count how may times makefile() was called if self . _closed : # Nothing to do return if not self . _makefile_called : self . _really_close ( ) return self . _makefile_called = self . _makefile_called - 1