commit | 8cabfa352b93e7126d5147a2f8f056cad8d724f6 | [log] [tgz] |
---|---|---|
author | Gregory P. Smith <greg@mad-scientist.com> | Sat Aug 15 22:39:03 2009 +0000 |
committer | Gregory P. Smith <greg@mad-scientist.com> | Sat Aug 15 22:39:03 2009 +0000 |
tree | 61a59f8fda1083c4159f680a46d37839aed9ffb1 | |
parent | 4c6e8088f52c4a1d33ff529685512fd6ebe0d21a [diff] |
Force the http connection to close after any request returned when buffering=True as our buffered data is not known to the HTTPConnection and may contain data needed by a future request if the connection were left open. See http://bugs.python.org/issue2576 and http://bugs.python.org/issue4879.