guangli dong <[email protected]> added the comment:
@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".
----------
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue44022>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com