[issue43741] http.client leaks from self.fp.read()

2021-04-07 Thread Hynek Petrak
Hynek Petrak added the comment: The leak does not seem to occure, when I use ret = r.read(1).decode('utf-8') instead. -- ___ Python tracker <https://bugs.python.o

[issue43741] http.client leaks from self.fp.read()

2021-04-06 Thread Hynek Petrak
Hynek Petrak added the comment: Python 3.9.2 on Kali Linux. -- ___ Python tracker <https://bugs.python.org/issue43741> ___ ___ Python-bugs-list mailin

[issue43741] http.client leaks from self.fp.read()

2021-04-06 Thread Hynek Petrak
New submission from Hynek Petrak : Hi, I wrote an webcrawler, which is using ThreadPoolExecutor to span multiple thread workers, retrieve content of a web using via http.client and saves it to a file. After a couple of thousands requests have been processes, the crawler starts to consume