aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2012-09-04 16:50:31 +0200
committerDaniel Stenberg <daniel@haxx.se>2012-09-04 16:50:31 +0200
commitda0d15733cf331f3f230178cd5295a23ddb952de (patch)
tree52ae9645fd330ae6e3387ae442ef711b48420e1f
parentcb2feb9def0a4625d521c242bc1c98f3a8833dbb (diff)
ftpserver: respond with a 250 to SMTP EHLO
... and specify that SIZE is supported. 250 is the "correct" response code according to RFC 2821
-rwxr-xr-xtests/ftpserver.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ftpserver.pl b/tests/ftpserver.pl
index c3728ef6c..6e6f691d4 100755
--- a/tests/ftpserver.pl
+++ b/tests/ftpserver.pl
@@ -601,7 +601,7 @@ sub protocolsetup {
'RCPT' => \&RCPT_smtp,
);
%displaytext = (
- 'EHLO' => '230 We are happy you popped in!',
+ 'EHLO' => "250-SIZE\r\n250 Welcome visitor, stay a while staaaaaay forever",
'MAIL' => '200 Note taken',
'RCPT' => '200 Receivers accepted',
'QUIT' => '200 byebye',