giampaolo / pyftpdlib

Extremely fast and scalable Python FTP server library
MIT License
1.65k stars 265 forks source link

Bugfix for TLS disconnect causing 100% CPU usage #613

Closed hakai closed 8 months ago

hakai commented 8 months 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 8 months ago

This looks like a critical fix. Thanks.