]> granicus.if.org Git - python/commit
Force the http connection to close after any request returned when
authorGregory P. Smith <greg@mad-scientist.com>
Sat, 15 Aug 2009 22:39:03 +0000 (22:39 +0000)
committerGregory P. Smith <greg@mad-scientist.com>
Sat, 15 Aug 2009 22:39:03 +0000 (22:39 +0000)
commit8cabfa352b93e7126d5147a2f8f056cad8d724f6
tree61a59f8fda1083c4159f680a46d37839aed9ffb1
parent4c6e8088f52c4a1d33ff529685512fd6ebe0d21a
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.
Lib/httplib.py