

def recv(self, buflen=1024, flags=0):
    if (not self._sslobj):
        return socket.recv(self, self, flags)
    elif (flags != 0):
        raise ValueError(('%s.recv(): non-zero flags not allowed' % self.__class__))
    try:
        return self.read(buflen)
    except ssl.SSLError as exc:
        if (exc.args[0] == ssl.SSL_ERROR_WANT_READ):
            raise SocketError(errno.EAGAIN)
        raise

dataset/ETHPy150Open HenryHu/pybbs/xmpp/aio.py SSLSocket.recv/VarMisuse@35/40 `buflen`->`self`