mirror of
https://github.com/moparisthebest/curl
synced 2024-11-18 07:25:14 -05:00
72688317ad
This bug report properly identified that when doing SMTP and aborting the transfer with a callback, it must be considered aborted prematurely by the code to avoid QUIT etc to be attempted as that would cause a hang. The new test case 1507 verifies this behavior. Reported by: Patricia Muscalu Bug: http://curl.haxx.se/bug/view.cgi?id=1184
52 lines
597 B
Plaintext
52 lines
597 B
Plaintext
<testcase>
|
|
<info>
|
|
<keywords>
|
|
SMTP
|
|
multi
|
|
</keywords>
|
|
</info>
|
|
|
|
#
|
|
# Server-side
|
|
<reply>
|
|
</reply>
|
|
|
|
#
|
|
# Client-side
|
|
<client>
|
|
<server>
|
|
smtp
|
|
</server>
|
|
<tool>
|
|
lib1507
|
|
</tool>
|
|
|
|
# based on bug report #1184
|
|
<name>
|
|
SMTP with multi interface and CURLE_ABORTED_BY_CALLBACK
|
|
</name>
|
|
<stdin>
|
|
From: different
|
|
To: another
|
|
|
|
body
|
|
</stdin>
|
|
<command>
|
|
smtp://%HOSTIP:%SMTPPORT/user
|
|
</command>
|
|
</client>
|
|
|
|
#
|
|
# Verify data after the test has been "shot"
|
|
<verify>
|
|
<protocol>
|
|
EHLO user
|
|
MAIL FROM:<1507-realuser@example.com>
|
|
RCPT TO:<1507-recipient@example.com>
|
|
DATA
|
|
</protocol>
|
|
<upload>
|
|
</upload>
|
|
</verify>
|
|
</testcase>
|