(self)
Fill raw queue from exactly one recv() system call.

        Block if no data is immediately available.  Set self.eof when
        connection is closed.
Fill raw queue from exactly one recv() system call.
Fill raw queue from exactly one recv () system call .
def fill_rawq(self):
        """Fill raw queue from exactly one recv() system call.

        Block if no data is immediately available.  Set self.eof when
        connection is closed.

        """
        if self.irawq >= len(self.rawq):
            self.rawq = b''
            self.irawq = 0
        # The buffer size should be fairly small so as to avoid quadratic
        # behavior in process_rawq() above
        buf = self.sock.recv(50)
        self.msg("recv %r", buf)
        self.eof = (not buf)
        self.rawq = self.rawq + buf
def fill_rawq ( self ) : if self . irawq >= len ( self . rawq ) : self . rawq = b'' self . irawq = 0 # The buffer size should be fairly small so as to avoid quadratic # behavior in process_rawq() above buf = self . sock . recv ( 50 ) self . msg ( "recv %r" , buf ) self . eof = ( not buf ) self . rawq = self . rawq + buf