curl/tests/data/test852
Daniel Stenberg 5a9d7c4e68
pop3/smtp: return *WEIRD_SERVER_REPLY when not understood
This leaves the CURLE_RECV_ERROR error code for explicit failure to
receive network data and allows users to better separate the problems.

Ref #8356
Reported-by: Rianov Viacheslav
Closes #8506
2022-03-29 14:01:53 +02:00

48 lines
532 B
Plaintext

<testcase>
<info>
<keywords>
POP3
Clear Text
LIST
FAILURE
</keywords>
</info>
#
# Server-side
<reply>
<servercmd>
REPLY LIST -ERR no such message
</servercmd>
</reply>
#
# Client-side
<client>
<server>
pop3
</server>
<name>
POP3 LIST invalid message
</name>
<command>
pop3://%HOSTIP:%POP3PORT/%TESTNUMBER -l -u user:secret
</command>
</client>
#
# Verify data after the test has been "shot"
<verify>
<errorcode>
8
</errorcode>
<protocol>
CAPA
USER user
PASS secret
LIST %TESTNUMBER
QUIT
</protocol>
</verify>
</testcase>