コード例 #1
0
ファイル: base.py プロジェクト: jdswinbank/Comet
    def lengthLimitExceeded(self, length):
        """
        This is called when a remote tries to send a massive string.

        Quite likely that's because it sends the prefix in little endian
        (rather than network) byte order.
        """
        log.info("Length limit exceeded (%d bytes)." % (length,))
        Int32StringReceiver.lengthLimitExceeded(self, length)
コード例 #2
0
ファイル: base.py プロジェクト: sipior/Comet
    def lengthLimitExceeded(self, length):
        """
        This is called when a remote tries to send a massive string.

        Quite likely that's because it sends the prefix in little endian
        (rather than network) byte order.
        """
        log.info("Length limit exceeded (%d bytes)." % (length, ))
        Int32StringReceiver.lengthLimitExceeded(self, length)
コード例 #3
0
ファイル: protocol.py プロジェクト: roboearth-neu/rce
 def lengthLimitExceeded(self, length):
     print("LENGTH LIMIT EXCEEDED {0}".format(length))
     Int32StringReceiver.lengthLimitExceeded(self, length)
コード例 #4
0
ファイル: protocol.py プロジェクト: zhangaigh/rce
 def lengthLimitExceeded(self, length):
     print('LENGTH LIMIT EXCEEDED {0}'.format(length))
     Int32StringReceiver.lengthLimitExceeded(self, length)