diff options
author | Steve Holme <steve_holme@hotmail.com> | 2013-09-21 20:49:23 +0100 |
---|---|---|
committer | Steve Holme <steve_holme@hotmail.com> | 2013-09-21 20:49:23 +0100 |
commit | b07709f7417c3e30a6c09445585579a4616d2e81 (patch) | |
tree | c58363667f61e74708cb576323cb6cda840cc7c8 /tests/httpserver.pl | |
parent | 9215cee4c6c3cc15b30e50bec98cbbc9f7a62663 (diff) |
ftpserver.pl: Moved cURL SMTP server detection into EHLO command handler
Moved the special SMTP server detection code from the DATA command
handler, which happens further down the operation chain after EHLO,
MAIL and RCPT commands, to the EHLO command as it is the first command
to be generated by a SMTP operation as well as containing the special
"verifiedserver" string from the URL.
This not only makes it easier and quicker to detect but also means that
cURL doesn't need to specify "verifiedserver" as --mail-from and
--mail-rcpt arguments.
More importantly, this also makes the upcoming verification changes to
the RCPT handler easier to implement.
Diffstat (limited to 'tests/httpserver.pl')
0 files changed, 0 insertions, 0 deletions