Skip to content

Commit

Permalink
Bugfix for TLS disconnect causing 100% CPU usage (#613)
Browse files Browse the repository at this point in the history
  • Loading branch information
hakai authored Oct 25, 2023
1 parent bfb4036 commit de21c57
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pyftpdlib/handlers.py
Original file line number Diff line number Diff line change
Expand Up @@ -3601,6 +3601,10 @@ def process_command(self, cmd, *args, **kwargs):
return
FTPHandler.process_command(self, cmd, *args, **kwargs)

def close(self):
SSLConnection.close(self)
FTPHandler.close(self)

# --- new methods

def handle_failed_ssl_handshake(self):
Expand Down

0 comments on commit de21c57

Please sign in to comment.