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.
This commit is contained in:
Fabian Keil 2022-05-11 11:14:18 +02:00 committed by Daniel Stenberg
parent 9e6ec8b6d5
commit 75e9035921
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2
3 changed files with 9 additions and 1 deletions

View File

@ -41,6 +41,9 @@ chunky-trailer: header data
another-header: yes
%endif
</datacheck>
<servercmd>
writedelay: 10
</servercmd>
</reply>
#

View File

@ -34,7 +34,9 @@ Got 4 bytes but pausing!
datad474
MyCoolTrailerHeader: amazingtrailer
</datacheck>
<servercmd>
writedelay: 10
</servercmd>
</reply>
# Client-side
<client>

View File

@ -37,6 +37,9 @@ Connection: mooo
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaabbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbcccccccccccccccccccccccccccccccc
chunky-trailer: header data
</datacheck>
<servercmd>
writedelay: 10
</servercmd>
</reply>
#