mirror of
https://github.com/moparisthebest/curl
synced 2024-12-22 16:18:48 -05: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.
62 lines
915 B
Plaintext
62 lines
915 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 5 Completed with status 0
|
|
Handle 6 Completed with status 0
|
|
Handle 1 Completed with status 0
|
|
</data>
|
|
</reply>
|
|
|
|
# Client-side
|
|
<client>
|
|
<server>
|
|
http-pipe
|
|
</server>
|
|
<features>
|
|
http
|
|
</features>
|
|
<tool>
|
|
lib1900
|
|
</tool>
|
|
<name>
|
|
HTTP GET using pipelining, penalized on content-length
|
|
</name>
|
|
<command>
|
|
http://%HOSTIP:%HTTPPIPEPORT/
|
|
</command>
|
|
<file name="log/urls.txt">
|
|
0 1k.txt
|
|
1000 100k.txt
|
|
550 alphabet.txt
|
|
10 alphabet.txt
|
|
10 alphabet.txt
|
|
10 alphabet.txt
|
|
10 alphabet.txt
|
|
</file>
|
|
</client>
|
|
|
|
# Verify data after the test has been "shot"
|
|
<verify>
|
|
</verify>
|
|
</testcase>
|