mirror of
https://github.com/curl/curl.git
synced 2025-03-13 15:37:04 +08:00
ftpserver.pl: make POP3 LIST serve content from the test file
instead of a fixed list in the test server. Adjust test 853 accordingly. Closes #14293
This commit is contained in:
parent
a62dbf2310
commit
ae0b08ae6e
@ -18,11 +18,11 @@ SLOWDOWN
|
||||
</servercmd>
|
||||
# When doing LIST, we get the default list output hard-coded in the test
|
||||
# POP3 server
|
||||
<datacheck>
|
||||
<data>
|
||||
1 100
|
||||
2 4294967400
|
||||
3 200
|
||||
</datacheck>
|
||||
</data>
|
||||
</reply>
|
||||
|
||||
#
|
||||
|
@ -1862,12 +1862,7 @@ sub RETR_pop3 {
|
||||
}
|
||||
|
||||
sub LIST_pop3 {
|
||||
# This is a built-in fake-message list
|
||||
my @data = (
|
||||
"1 100\r\n",
|
||||
"2 4294967400\r\n", # > 4 GB
|
||||
"3 200\r\n",
|
||||
);
|
||||
my @data = getpart("reply", "data");
|
||||
|
||||
logmsg "retrieve a message list\n";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user