projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cb2feb9
)
ftpserver: respond with a 250 to SMTP EHLO
author
Daniel Stenberg
<daniel@haxx.se>
Tue, 4 Sep 2012 14:50:31 +0000
(16:50 +0200)
committer
Daniel Stenberg
<daniel@haxx.se>
Tue, 4 Sep 2012 14:50:31 +0000
(16:50 +0200)
... and specify that SIZE is supported. 250 is the "correct" response
code according to RFC 2821
tests/ftpserver.pl
patch
|
blob
|
history
diff --git
a/tests/ftpserver.pl
b/tests/ftpserver.pl
index
c3728ef
..
6e6f691
100755
(executable)
--- 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',