mirror of
https://github.com/curl/curl.git
synced 2024-12-21 06:50:10 +08:00
75f00de55c
Do not try to convert line-endings to CRLF on Windows by setting stdout to binary mode, just like the curl tool does if --ascii is not specified. This should prevent corrupted stdout line-ending output like CRCRLF. In order to make the previously naive text-aware tests work with binary mode on Windows, text-mode is disabled for them if it is not actually part of the test case and line-endings are corrected.
63 lines
907 B
Plaintext
63 lines
907 B
Plaintext
<testcase>
|
|
<info>
|
|
<keywords>
|
|
HTTP
|
|
pipelining
|
|
multi
|
|
</keywords>
|
|
</info>
|
|
|
|
# Server-side
|
|
<reply>
|
|
<data>
|
|
Adding handle 0
|
|
Handle 0 Completed with status 0
|
|
Adding handle 1
|
|
Adding handle 2
|
|
Adding handle 3
|
|
Adding handle 4
|
|
Adding handle 5
|
|
Adding handle 6
|
|
Handle 2 Completed with status 0
|
|
Handle 3 Completed with status 0
|
|
Handle 4 Completed with status 0
|
|
Handle 1 Completed with status 0
|
|
Handle 5 Completed with status 0
|
|
Handle 6 Completed with status 0
|
|
</data>
|
|
</reply>
|
|
|
|
# Client-side
|
|
<client>
|
|
<server>
|
|
http-pipe
|
|
</server>
|
|
<features>
|
|
http
|
|
</features>
|
|
<tool>
|
|
lib1900
|
|
</tool>
|
|
<name>
|
|
HTTP GET using pipelining, blacklisted site
|
|
</name>
|
|
<command>
|
|
http://%HOSTIP:%HTTPPIPEPORT/
|
|
</command>
|
|
<file name="log/urls.txt">
|
|
blacklist_site 127.0.0.1:%HTTPPIPEPORT
|
|
0 1k.txt
|
|
1000 100k.txt
|
|
0 1k.txt
|
|
0 1k.txt
|
|
0 1k.txt
|
|
0 1k.txt
|
|
0 1k.txt
|
|
</file>
|
|
</client>
|
|
|
|
# Verify data after the test has been "shot"
|
|
<verify>
|
|
</verify>
|
|
</testcase>
|