#1943: apply suggestions from PR + fixing FTP bug + elaborating

This commit is contained in:
Czar.Echavez
2023-10-09 13:25:12 +01:00
parent 853bb9eecc
commit 318539fd8f
10 changed files with 24 additions and 12 deletions

View File

@@ -80,7 +80,11 @@ class FTPServer(FTPServiceABC):
return False
"""
Usually
Ignore ftp payload if status code is defined.
This means that an FTP server has already handled the packet and
prevents an FTP request loop - FTP client and servers can exist on
the same node.
"""
if payload.status_code is not None:
return False