From: Daniel Stenberg Date: Mon, 1 Mar 2004 07:16:45 +0000 (+0000) Subject: Report the correct size when 'verifiedserver' is requested. X-Git-Tag: cares-1_1_0~120 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=78f52c05a9e16811909505896a68f0ed374ab8b3;p=curl Report the correct size when 'verifiedserver' is requested. --- diff --git a/tests/ftpserver.pl b/tests/ftpserver.pl index f366bf439..5bfe71cd0 100644 --- a/tests/ftpserver.pl +++ b/tests/ftpserver.pl @@ -282,7 +282,9 @@ sub RETR_command { if($testno =~ /^verifiedserver$/) { # this is the secret command that verifies that this actually is # the curl test server - print "150 Binary junk (10 bytes).\r\n"; + my $response = "WE ROOLZ: $$\r\n"; + my $len = length($response); + print "150 Binary junk ($len bytes).\r\n"; print SOCK "WE ROOLZ: $$\r\n"; close(SOCK); print "226 File transfer complete\r\n";