From: Fabian Keil Date: Wed, 11 May 2022 09:14:18 +0000 (+0200) Subject: tests 266, 116 and 1540: add a small write delay X-Git-Tag: curl-7_84_0~208 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=75e9035921380ec3d2ac29adae20d484da8c14ec;p=thirdparty%2Fcurl.git tests 266, 116 and 1540: add a small write delay This makes it more likely that the trailer is received seperately from the last-chunk. curl doesn't seem to care about this but it makes the tests more useful when testing external proxies like Privoxy. --- diff --git a/tests/data/test1116 b/tests/data/test1116 index 7a883bfe1a..3543e751b3 100644 --- a/tests/data/test1116 +++ b/tests/data/test1116 @@ -41,6 +41,9 @@ chunky-trailer: header data another-header: yes %endif + +writedelay: 10 + # diff --git a/tests/data/test1540 b/tests/data/test1540 index 818cbb68dc..2dc8265558 100644 --- a/tests/data/test1540 +++ b/tests/data/test1540 @@ -34,7 +34,9 @@ Got 4 bytes but pausing! datad474 MyCoolTrailerHeader: amazingtrailer - + +writedelay: 10 + # Client-side diff --git a/tests/data/test266 b/tests/data/test266 index 6b5d2e6c77..4f5f359d80 100644 --- a/tests/data/test266 +++ b/tests/data/test266 @@ -37,6 +37,9 @@ Connection: mooo aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaabbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbcccccccccccccccccccccccccccccccc chunky-trailer: header data + +writedelay: 10 + #