[New-bugs-announce] [issue35649] http.client doesn't close. Infinite loop

skorpeo report at bugs.python.org
Thu Jan 3 11:41:48 EST 2019

New submission from skorpeo <skorpeo11 at gmail.com>:

when testing example from https://docs.python.org/3/library/http.client.html.  Specifically the chunked example, i.e. while not r1.closed.  Results in infinite loop.  

I believe this is because line 398 function def _close_conn(self), should call self.close().

messages: 332934
nosy: skorpeo
priority: normal
severity: normal
status: open
title: http.client doesn't close.  Infinite loop
versions: Python 3.5, Python 3.6, Python 3.7

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list