Lines Matching refs:length
106 def _read(self, length):
107 """Reads length bytes from connection. In case we catch any exception,
115 read_bytes = self._request.connection.read(length)
119 (length, (self._request.connection.remote_addr,)))
128 (length, e))
133 (length, e))
149 def receive_bytes(self, length):
158 while length > 0:
159 new_read_bytes = self._read(length)
161 length -= len(new_read_bytes)