ftpserver.pl: Moved invalid RCPT TO: address detection to RCPT handler
authorSteve Holme <steve_holme@hotmail.com>
Sun, 22 Sep 2013 10:03:18 +0000 (11:03 +0100)
committerSteve Holme <steve_holme@hotmail.com>
Sun, 22 Sep 2013 10:03:18 +0000 (11:03 +0100)
commit8ec6486d05c6bcefb688c095954b2b39881f0260
treedfa9534450149818c15731dcf5273311706c28f9
parent59c1743c78eee777a5dbc7d7b430a586b6e49f12
ftpserver.pl: Moved invalid RCPT TO: address detection to RCPT handler

Rather than detecting the TO address as missing in the DATA handler,
moved the detection to the RCPT command handler where an error response
can be generated.
tests/ftpserver.pl