(self)
return buf
Read all data until EOF; block until connection closed.
Read all data until EOF; block until connection closed.
Read all data until EOF ; block until connection closed .
def read_all(self):
        """Read all data until EOF; block until connection closed."""
        self.process_rawq()
        while not self.eof:
            self.fill_rawq()
            self.process_rawq()
        buf = self.cookedq
        self.cookedq = b''
        return buf
def read_all ( self ) : self . process_rawq ( ) while not self . eof : self . fill_rawq ( ) self . process_rawq ( ) buf = self . cookedq self . cookedq = b'' return buf