mirror of
https://github.com/moparisthebest/curl
synced 2024-11-17 23:15:08 -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
850 B
Plaintext
62 lines
850 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 4 Completed with status 0
|
|
Handle 5 Completed with status 0
|
|
Handle 6 Completed with status 0
|
|
Handle 1 Completed with status 0
|
|
Handle 2 Completed with status 0
|
|
Handle 3 Completed with status 0
|
|
</data>
|
|
</reply>
|
|
|
|
# Client-side
|
|
<client>
|
|
<server>
|
|
http-pipe
|
|
</server>
|
|
<features>
|
|
http
|
|
</features>
|
|
<tool>
|
|
lib1900
|
|
</tool>
|
|
<name>
|
|
HTTP GET using pipelining
|
|
</name>
|
|
<command>
|
|
http://%HOSTIP:%HTTPPIPEPORT/
|
|
</command>
|
|
<file name="log/urls.txt">
|
|
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>
|