aboutsummaryrefslogtreecommitdiff
path: root/tests/ftpserver.pl
AgeCommit message (Collapse)Author
2013-09-11ftpserver.pl: Added support for UID commandSteve Holme
2013-09-11ftpserver.pl: Added support for LSUB commandSteve Holme
2013-09-11ftpserver.pl: Added support for IMAP COPY commandSteve Holme
2013-09-11ftpserver.pl: Added support for IMAP CLOSE and EXPUNGE commandsSteve Holme
2013-09-11ftpserver.pl: Added support for POP3 RSET commandSteve Holme
2013-09-11ftpserver.pl: Added the ability to remember what messages are deletedSteve Holme
...as this will be required for IMAP CLOSE and EXPUNGE commands as well as the POP3 RSET command.
2013-09-09ftpserver.pl: Added support for POP3 TOP commandSteve Holme
2013-09-09ftpserver.pl: Added support for POP3 UIDL commandSteve Holme
2013-09-08ftpserver.pl: Fixed empty array checksSteve Holme
...from commits 28427b408326a1 and e8313697b6554b.
2013-09-08ftpserver: Reworked AUTH support to allow for specifying the mechanismsSteve Holme
Renamed SUPPORTAUTH to AUTH and added support for specifying a list of supported SASL mechanisms to return to the client. Additionally added the directive to the FILEFORMAT document.
2013-09-08ftpserver: Reworked CAPA support to allow for specifying the capabilitiesSteve Holme
Renamed SUPPORTCAPA to CAPA and added support for specifying a list of supported capabilities to return to the client. Additionally added the directive to the FILEFORMAT document.
2013-09-08ftpserver.pl: Corrected POP3 LIST as message numbers should be contiguousSteve Holme
The message numbers given in the LIST response are an index into the list, which are only valid for the current session, rather than being a unique message identifier. An index would only be missing from the LIST response if a DELE command had been issued within the same session and had not been committed by the end of session QUIT command. Once committed the POP3 server will regenerate the message numbers in the next session to be contiguous again. As such our LIST response should list message numbers contiguously until we support a DELE command in the same session. Should a POP3 user require the unique message ID for any or all messages then they should use the extended UIDL command. This command will be supported by the test ftpserver in an upcoming commit.
2013-09-08ftpserver.pl: Added support for POP3 NOOP commandSteve Holme
2013-09-08ftpserver.pl: Fixed 'Use of uninitialized value $args in string ne'Steve Holme
2013-09-08ftpserver.pl: Added support for POP STAT commandSteve Holme
2013-09-08ftpserver.pl: Moved POP3 QUIT handler into own functionSteve Holme
2013-09-08ftpserver.pl: Reordered the POP3 handlers to be alphabeticalSteve Holme
In preparation for additional POP3 tests, re-ordered the command function defintions to be sorted alphabetically.
2013-09-08ftpserver.pl: Corrected misaligned indentation in POP3 handlersSteve Holme
Fixed incorrect indentation used in both the RETR_pop3 and LIST_pop3 functions which was 5 and 9 characters rather than 4 and 8.
2013-09-07ftpserver.pl: Added support for POP3 DELE commandSteve Holme
2013-08-31ftpserver.pl: Added support for the IMAP CHECK commandSteve Holme
2013-08-31ftpserver.pl: Corrected flawed logic in commit 1ca6ed7b75cad0Steve Holme
2013-08-31ftpserver.pl: Added argument check to IMAP command handlersSteve Holme
Added BAD argument check to the following IMAP command handlers: APPEND, STORE, LIST, EXAMINE, STATUS and SEARCH
2013-08-31ftpserver.pl: More whitespace correctionsSteve Holme
LIST_imap() had a second level of indentation at 9 characters and not 8.
2013-08-30ftpserver.pl: Small correction tidy upSteve Holme
Corrected some IMAP variable names and whitespace issues.
2013-08-30ftpserver: Bareword "to_mailbox" not allowedDaniel Stenberg
Added missing $
2013-08-30ftpserver.pl: Added support for IMAP CREATE, DELETE and RENAME commandsSteve Holme
2013-08-29ftpserver.pl: Updated IMAP EXAMINE handler to use dynamic test dataSteve Holme
2013-08-29ftpserver.pl: Added SELECT check to IMAP FETCH and STORE handlersSteve Holme
2013-08-28ftpserver.pl: Corrected accidental move of logmsg() callSteve Holme
Corrected the call to logmsg() in the IMAP SEARCH handler from commit 4ae7b7ea691497 as it should have been outputting the what argument and not the test number.
2013-08-28ftpserver: add missing '}' from 4ae7b7ea69149Daniel Stenberg
2013-08-28ftpserver.pl: Added SELECT check to IMAP SEARCH commandSteve Holme
2013-08-28ftpserver.pl: Fixed IMAP SEARCH commandSteve Holme
2013-08-27ftpserver.pl: Added support for IMAP SEARCH commandSteve Holme
2013-04-29ftpserver: silence warningsDaniel Stenberg
Fix regressions in commit b56e3d43e5d. Make @data local and filter off non-numerical digits from $testno in STATUS_imap.
2013-04-29ftpserver.pl: Corrected the imap LOGIN responseSteve Holme
...to be more realistic and consistent with the other imap responses.
2013-04-29tests: Added imap STATUS command testSteve Holme
2013-04-26ftpserver.pl: Fixed imap logout confirmation dataSteve Holme
An IMAP server should response with the BYE continuation response before confirming the LOGOUT command was successful.
2013-04-12FTP: handle a 230 welcome responseDaniel Stenberg
...instead of the 220 we otherwise expect. Made the ftpserver.pl support sending a custom "welcome" and then created test 1219 to verify this fix with such a 230 welcome. Bug: http://curl.haxx.se/mail/lib-2013-02/0102.html Reported by: Anders Havn
2013-03-14ftpserver.pl: Added EXAMINE_imap() for IMAP EXAMINE commandsSteve Holme
Used hard coded data from RFC-3501 section 6.3.2.
2013-03-10imap-tests: Accept quoted parameters in ftpserver.plJiri Hruska
Any IMAP parameter can come in escaped and in double quotes. Added a simple function to unquote the command parameters and applied it to the IMAP command handlers.
2013-03-10tests: Fix ftpserver.pl indentationJiri Hruska
The whole of FETCH_imap() had one extra space of indentation, whilst APPEND_imap() used indentation of 2 instead of 4 in places.
2013-03-06imap: Fixed ftpserver.pl to allow verification even through LIST commandJiri Hruska
Commit 198012ee inadvertently broke LIST_imap().
2013-03-06imap: Updated ftpserver.pl to be more compliant, added new commandsJiri Hruska
Enriched IMAP capabilities of ftpserver.pl in order to be able to add tests for the new IMAP features. * Added support for APPEND - Saves uploaded data to log/upload.$testno * Added support for LIST - Returns the contents of <reply/> section in the current test, like e.g FETCH. * Added support for STORE - Returns hardcoded updated flags * Changed handling of SELECT - Returns much more information in the usual set of untagged responses; uses hardcoded data from an example in the IMAP RFC * Changed handling of FETCH - Fixed response format
2013-01-05imap test server: fix typo in name of SELECT_imap() sub definitionYang Tse
IMAP test server breaking typo introduced with commit b708a522a1
2013-01-04imap test server: Added support for the CAPABILITY commandSteve Holme
Added support for the CAPABILITY command in preparation of upcoming changes.
2012-12-06runtests and friends: Do not add undefined values to @INCFabian Keil
On FreeBSD this fixes the warning: Use of uninitialized value $p in string eq at /usr/local/lib/perl5/5.14.2/BSDPAN/BSDPAN.pm line 36.
2012-09-04ftpserver: respond with a 250 to SMTP EHLODaniel Stenberg
... and specify that SIZE is supported. 250 is the "correct" response code according to RFC 2821
2012-05-30pop3 test server: allow pop3 test server verification to succeed againYang Tse
Introduce SUPPORTCAPA and SUPPORTAUTH config commands to allow further pop3 test server expansion for tests that require CAPA or AUTH support, although this will need some extra work to make it fully functional.
2012-02-21pop3 test server: send terminating ".CRLF" onlyDaniel Stenberg
With commit 035ef06bda7 applied, the test pop3 server needs to send ".\r\n" as the body terminating sequence and there needs to be a final CRLF in the actual body in the test data file.
2011-12-29ftpserver.pl: arbitrary application data splitting among TCP packets [II]Yang Tse
Take in account that 'pingpong' server commands may arrive splitted among several sockfilt 'DATA' PDU's.