mirror of
https://github.com/curl/curl.git
synced 2025-01-30 14:22:33 +08:00
parent
5121d98c22
commit
95f5aae9ad
@ -2140,6 +2140,7 @@ static CURLcode single_transfer(struct GlobalConfig *global,
|
||||
}
|
||||
break;
|
||||
}
|
||||
Curl_safefree(state->outfiles);
|
||||
|
||||
if(!*added || result) {
|
||||
*added = FALSE;
|
||||
|
@ -64,7 +64,7 @@ test361 test362 test363 test364 test365 test366 test367 test368 test369 \
|
||||
test370 test371 test372 test373 test374 test375 test376 test378 test379 \
|
||||
test380 test381 test383 test384 test385 test386 \
|
||||
\
|
||||
test391 test392 test393 test394 test395 test396 test397 test398 \
|
||||
test390 test391 test392 test393 test394 test395 test396 test397 test398 \
|
||||
\
|
||||
test400 test401 test402 test403 test404 test405 test406 test407 test408 \
|
||||
test409 test410 test411 test412 test413 test414 \
|
||||
|
48
tests/data/test390
Normal file
48
tests/data/test390
Normal file
@ -0,0 +1,48 @@
|
||||
<testcase>
|
||||
<info>
|
||||
<keywords>
|
||||
HTTP
|
||||
FTP
|
||||
parallel
|
||||
</keywords>
|
||||
</info>
|
||||
|
||||
#
|
||||
# Server-side
|
||||
<reply>
|
||||
<data nocheck="yes">
|
||||
HTTP/1.1 200 OK
|
||||
Content-Length: 10001
|
||||
Content-Type: text/html
|
||||
|
||||
%repeat[1000 x hellohttp!]%
|
||||
</data>
|
||||
|
||||
<data2 nocheck="yes">
|
||||
%repeat[1000 x hello ftp!]%
|
||||
</data2>
|
||||
|
||||
</reply>
|
||||
|
||||
#
|
||||
# Client-side
|
||||
<client>
|
||||
<file name="log/test%TESTNUMBER.txt">
|
||||
%repeat[1000 x hellofile!]%
|
||||
</file>
|
||||
<server>
|
||||
http
|
||||
ftp
|
||||
</server>
|
||||
<name>
|
||||
curl HTTP, FILE and FTP in parallel
|
||||
</name>
|
||||
<command option="no-output">
|
||||
http://%HOSTIP:%HTTPPORT/%TESTNUMBER file://localhost%FILE_PWD/log/test%TESTNUMBER.txt ftp://%HOSTIP:%FTPPORT/%TESTNUMBER0002 --parallel -o log/%TESTNUMBER.a -o log/%TESTNUMBER.b -o log/%TESTNUMBER.c
|
||||
</command>
|
||||
</client>
|
||||
|
||||
#
|
||||
<verify>
|
||||
</verify>
|
||||
</testcase>
|
Loading…
Reference in New Issue
Block a user