mirror of
https://github.com/curl/curl.git
synced 2026-06-03 07:44:15 +03:00
parent
1bea122114
commit
45c6448e68
3 changed files with 15 additions and 16 deletions
|
|
@ -65,7 +65,6 @@
|
|||
1528
|
||||
1533
|
||||
1540
|
||||
1556
|
||||
1591
|
||||
1700
|
||||
1701
|
||||
|
|
|
|||
|
|
@ -10,18 +10,18 @@ HTTP GET
|
|||
# Server-side
|
||||
<reply>
|
||||
<data nocheck="yes">
|
||||
HTTP/1.1 200 OK
|
||||
Date: Tue, 09 Nov 2010 14:49:00 GMT
|
||||
Server: test-server/fake
|
||||
Last-Modified: Tue, 13 Jun 2000 12:10:00 GMT
|
||||
ETag: "21025-dc7-39462498"
|
||||
Accept-Ranges: bytes
|
||||
Content-Length: 6
|
||||
Connection: close
|
||||
Content-Type: text/html
|
||||
Funny-head: yesyes
|
||||
Long: %repeat[100001 x A]%
|
||||
|
||||
HTTP/1.1 200 OK
|
||||
Date: Tue, 09 Nov 2010 14:49:00 GMT
|
||||
Server: test-server/fake
|
||||
Last-Modified: Tue, 13 Jun 2000 12:10:00 GMT
|
||||
ETag: "21025-dc7-39462498"
|
||||
Accept-Ranges: bytes
|
||||
Content-Length: 6
|
||||
Connection: close
|
||||
Content-Type: text/html
|
||||
Funny-head: yesyes
|
||||
Long: %repeat[100001 x A]%
|
||||
|
||||
-foo-
|
||||
</data>
|
||||
</reply>
|
||||
|
|
@ -54,7 +54,7 @@ Accept: */*
|
|||
</protocol>
|
||||
<stdout>
|
||||
-foo-
|
||||
Max: 100008
|
||||
Max = 100009
|
||||
</stdout>
|
||||
</verify>
|
||||
</testcase>
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
* | (__| |_| | _ <| |___
|
||||
* \___|\___/|_| \_\_____|
|
||||
*
|
||||
* Copyright (C) 1998 - 2020, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||
* Copyright (C) 1998 - 2021, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||
*
|
||||
* This software is licensed as described in the file COPYING, which
|
||||
* you should have received as part of this distribution. The terms
|
||||
|
|
@ -67,7 +67,7 @@ int test(char *URL)
|
|||
goto test_cleanup;
|
||||
}
|
||||
|
||||
printf("Max: %ld\n", (long)info.largest);
|
||||
printf("Max = %ld\n", (long)info.largest);
|
||||
|
||||
test_cleanup:
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue