Ejemplo n.º 1
0
    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)
Ejemplo n.º 2
0
Archivo: base.py Proyecto: 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)
Ejemplo n.º 3
0
 def lengthLimitExceeded(self, length):
     print("LENGTH LIMIT EXCEEDED {0}".format(length))
     Int32StringReceiver.lengthLimitExceeded(self, length)
Ejemplo n.º 4
0
 def lengthLimitExceeded(self, length):
     print('LENGTH LIMIT EXCEEDED {0}'.format(length))
     Int32StringReceiver.lengthLimitExceeded(self, length)