mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 15:48:49 -05:00
FTP tests 1206 - 1209: don't expect QUIT
The protocol parts for these tests do not include QUIT simply because the error is CURLE_OPERATION_TIMEDOUT (28) which is a generic timeout error without specificly saying for which connection it concerns, and for timeouts libcurl marks the control channel as "invalid". As this test case times out for the data connection it could still use the control channel.
This commit is contained in:
parent
2d833852f6
commit
ac54d27d4b
@ -7,7 +7,3 @@
|
||||
592
|
||||
593
|
||||
594
|
||||
1206
|
||||
1207
|
||||
1208
|
||||
1209
|
||||
|
@ -36,6 +36,12 @@ FTP PORT and 425 on download
|
||||
<strippart>
|
||||
s/^EPRT \|1\|(.*)/EPRT \|1\|/
|
||||
</strippart>
|
||||
|
||||
# The protocol part does not include QUIT simply because the error is
|
||||
# CURLE_OPERATION_TIMEDOUT (28) which is a generic timeout error without
|
||||
# specificly saying for which connection it concerns, and for timeouts libcurl
|
||||
# marks the control channel as "invalid". As this test case times out for the
|
||||
# data connection it could still use the control channel.
|
||||
<protocol>
|
||||
USER anonymous
|
||||
PASS ftp@example.com
|
||||
@ -44,10 +50,9 @@ EPRT |1|
|
||||
TYPE I
|
||||
SIZE 1206
|
||||
RETR 1206
|
||||
QUIT
|
||||
</protocol>
|
||||
<errorcode>
|
||||
19
|
||||
28
|
||||
</errorcode>
|
||||
</verify>
|
||||
</testcase>
|
||||
|
@ -36,6 +36,12 @@ FTP PORT and 421 on download
|
||||
<strippart>
|
||||
s/^EPRT \|1\|(.*)/EPRT \|1\|/
|
||||
</strippart>
|
||||
|
||||
# The protocol part does not include QUIT simply because the error is
|
||||
# CURLE_OPERATION_TIMEDOUT (28) which is a generic timeout error without
|
||||
# specificly saying for which connection it concerns, and for timeouts libcurl
|
||||
# marks the control channel as "invalid". As this test case times out for the
|
||||
# data connection it could still use the control channel.
|
||||
<protocol>
|
||||
USER anonymous
|
||||
PASS ftp@example.com
|
||||
@ -44,10 +50,9 @@ EPRT |1|
|
||||
TYPE I
|
||||
SIZE 1207
|
||||
RETR 1207
|
||||
QUIT
|
||||
</protocol>
|
||||
<errorcode>
|
||||
19
|
||||
28
|
||||
</errorcode>
|
||||
</verify>
|
||||
</testcase>
|
||||
|
@ -36,6 +36,12 @@ FTP PORT download, no data conn and no transient negative reply
|
||||
<strippart>
|
||||
s/^EPRT \|1\|(.*)/EPRT \|1\|/
|
||||
</strippart>
|
||||
|
||||
# The protocol part does not include QUIT simply because the error is
|
||||
# CURLE_OPERATION_TIMEDOUT (28) which is a generic timeout error without
|
||||
# specificly saying for which connection it concerns, and for timeouts libcurl
|
||||
# marks the control channel as "invalid". As this test case times out for the
|
||||
# data connection it could still use the control channel.
|
||||
<protocol>
|
||||
USER anonymous
|
||||
PASS ftp@example.com
|
||||
@ -44,10 +50,9 @@ EPRT |1|
|
||||
TYPE I
|
||||
SIZE 1208
|
||||
RETR 1208
|
||||
QUIT
|
||||
</protocol>
|
||||
<errorcode>
|
||||
19
|
||||
28
|
||||
</errorcode>
|
||||
</verify>
|
||||
</testcase>
|
||||
|
@ -36,6 +36,12 @@ FTP PORT download, no data conn and no positive preliminary reply
|
||||
<strippart>
|
||||
s/^EPRT \|1\|(.*)/EPRT \|1\|/
|
||||
</strippart>
|
||||
|
||||
# The protocol part does not include QUIT simply because the error is
|
||||
# CURLE_OPERATION_TIMEDOUT (28) which is a generic timeout error without
|
||||
# specificly saying for which connection it concerns, and for timeouts libcurl
|
||||
# marks the control channel as "invalid". As this test case times out for the
|
||||
# data connection it could still use the control channel.
|
||||
<protocol>
|
||||
USER anonymous
|
||||
PASS ftp@example.com
|
||||
@ -44,10 +50,9 @@ EPRT |1|
|
||||
TYPE I
|
||||
SIZE 1209
|
||||
RETR 1209
|
||||
QUIT
|
||||
</protocol>
|
||||
<errorcode>
|
||||
19
|
||||
28
|
||||
</errorcode>
|
||||
</verify>
|
||||
</testcase>
|
||||
|
Loading…
Reference in New Issue
Block a user