##// END OF EJS Templates
keepalive: Do not append _rbuf if _raw_readinto exists (issue6356)...
Cédric Krier -
r45930:49f8ba4f stable
parent child Browse files
Show More
@@ -542,7 +542,11 b' class HTTPResponse(httplib.HTTPResponse)'
542 return line
542 return line
543
543
544 # No newline in local buffer. Read until we find one.
544 # No newline in local buffer. Read until we find one.
545 chunks = [self._rbuf]
545 # readinto read via readinto will already return _rbuf
546 if self._raw_readinto is None:
547 chunks = [self._rbuf]
548 else:
549 chunks = []
546 i = -1
550 i = -1
547 readsize = self._rbufsize
551 readsize = self._rbufsize
548 while True:
552 while True:
General Comments 0
You need to be logged in to leave comments. Login now