]> granicus.if.org Git - python/commitdiff
Issue #16298: In HTTPResponse.read(), close the socket when there is no Content-Lengt...
authorAntoine Pitrou <solipsis@pitrou.net>
Sat, 15 Dec 2012 18:23:34 +0000 (19:23 +0100)
committerAntoine Pitrou <solipsis@pitrou.net>
Sat, 15 Dec 2012 18:23:34 +0000 (19:23 +0100)
Patch by Eran Rundstein.

1  2 
Misc/ACKS
Misc/NEWS

diff --cc Misc/ACKS
Simple merge
diff --cc Misc/NEWS
index f04a08ec5002035989a491fd818a17421feee8fd,5020c9d42d18c7b97636791a676a1de4fe8c4dba..7b8636a730a6ac0bc3ec9b103c3da062bf59543b
+++ b/Misc/NEWS
@@@ -167,15 -108,10 +167,19 @@@ Core and Builtin
  Library
  -------
  
+ - Issue #16298: In HTTPResponse.read(), close the socket when there is no
+   Content-Length and the incoming stream is finished.  Patch by Eran
+   Rundstein.
 +- Add abc.ABC class to use inheritance rather than a direct invocation of
 +  ABCMeta metaclass. Patch by Bruno Dupuis.
 +
 +- Expose the TCP_FASTOPEN and MSG_FASTOPEN flags in socket when they're
 +  available.
 +
 +- Issue #15701: Add a .headers attribute to urllib.error.HTTPError. Patch
 +  contributed by Berker Peksag.
 +
  - Issue #15872: Fix 3.3 regression introduced by the new fd-based shutil.rmtree
    that caused it to not ignore certain errors when ignore_errors was set.
    Patch by Alessandro Moura and Serhiy Storchaka.