giampaolo / pyftpdlib

Extremely fast and scalable Python FTP server library
MIT License
1.68k stars 263 forks source link

Bugfix for TLS disconnect causing 100% CPU usage #613

Closed hakai closed 1 year ago

hakai commented 1 year ago

(Python 3.11.4, pyftpdlib 1.5.8) TLS_FTPHandler(SSLConnection, FTPHandler) did not implement the close() method, so only the first parent's close() is called. Not calling close() on FTPHandler leads to infinite loop and 100% CPU usage though.

giampaolo commented 1 year ago

This looks like a critical fix. Thanks.