[issue4879] Allow buffering for HTTPResponse

Gregory P. Smith report at bugs.python.org
Sat Aug 15 08:46:14 CEST 2009


Gregory P. Smith <greg at krypto.org> added the comment:

I believe there will be a problem with the patch committed in r68532. 
If getresponse(buffering=True) is called, extra data on the socket may
be consumed by the socket.makefile() buffer which will cause problems if
the connection is not closed immediately after this response.

I mentioned this in comments on http://bugs.python.org/issue2576 which
happens to have a way of fixing this already proposed as they are trying
to solve an almost identical issue to this without yet having seen this
issue.

----------
nosy: +gregory.p.smith

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue4879>
_______________________________________


More information about the Python-bugs-list mailing list