1
0
mirror of https://github.com/moparisthebest/curl synced 2024-11-04 16:45:06 -05:00
curl/tests/data/test161
Daniel Stenberg 3533def3d5 http2: make sure stream errors don't needlessly close the connection
With HTTP/2 each transfer is made in an indivial logical stream over the
connection, making most previous errors that caused the connection to get
forced-closed now instead just kill the stream and not the connection.

Fixes #941
2016-08-28 16:44:49 +02:00

52 lines
655 B
Plaintext

<testcase>
<info>
<keywords>
FTP
CURLE_PARTIAL_FILE
RETR
PASV
</keywords>
</info>
<reply>
<data>
1oooooooooooooooooooooooooooooooooooooooooo2
</data>
<size>
10928
</size>
</reply>
# Client-side
<client>
<server>
ftp
</server>
<name>
FTP RETR PASV
</name>
<command>
ftp://%HOSTIP:%FTPPORT/161
</command>
</client>
# Verify data after the test has been "shot"
<verify>
# This doesn't send QUIT because of known bug:
# "7.8 Premature transfer end but healthy control channel"
<protocol>
USER anonymous
PASS ftp@example.com
PWD
EPSV
TYPE I
SIZE 161
RETR 161
</protocol>
# CURLE_PARTIAL_FILE = 18
<errorcode>
18
</errorcode>
</verify>
</testcase>