This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author leveryd
Recipients christian.heimes, gen-xu, gregory.p.smith, leveryd, lukasz.langa, miss-islington, ned.deily
Date 2021-05-07.17:04:05
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1620407045.86.0.0451233039342.issue44022@roundup.psfhosted.org>
In-reply-to
Content
@Gregory P. Smith

yes, i agree that there are many other ways to make "urllib" or "httplib" such http client hang, because "timeout" is not global read timeout, this "timeout" has effects when every "read socket" operation.

why you think it will not result in memory exhaustion?

the "hlist" list will not be more and more larger? i use "top" command to observe, and find the "client.py" process's memory is more and more larger slowly.
```
httplib.py

while True:
    ...
    line = self.fp.readline(_MAXLINE + 1)
    ...
    hlist.append(line)
```


the last, would you mind remove "100 Continue" in this bug title? i think it will maybe make others misunderstand that this bug only occur when response status code is "100".
History
Date User Action Args
2021-05-07 17:04:05leverydsetrecipients: + leveryd, gregory.p.smith, christian.heimes, ned.deily, lukasz.langa, miss-islington, gen-xu
2021-05-07 17:04:05leverydsetmessageid: <1620407045.86.0.0451233039342.issue44022@roundup.psfhosted.org>
2021-05-07 17:04:05leverydlinkissue44022 messages
2021-05-07 17:04:05leverydcreate