curl/tests/data/test855
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
529 B
Plaintext

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