From 75e9035921380ec3d2ac29adae20d484da8c14ec Mon Sep 17 00:00:00 2001 From: Fabian Keil Date: Wed, 11 May 2022 11:14:18 +0200 Subject: [PATCH] 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. --- tests/data/test1116 | 3 +++ tests/data/test1540 | 4 +++- tests/data/test266 | 3 +++ 3 files changed, 9 insertions(+), 1 deletion(-) 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 + # -- 2.47.3