mirror of
https://github.com/curl/curl.git
synced 2026-05-30 05:47:28 +03:00
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:
parent
9e6ec8b6d5
commit
75e9035921
3 changed files with 9 additions and 1 deletions
|
|
@ -41,6 +41,9 @@ chunky-trailer: header data
|
|||
another-header: yes
|
||||
%endif
|
||||
</datacheck>
|
||||
<servercmd>
|
||||
writedelay: 10
|
||||
</servercmd>
|
||||
</reply>
|
||||
|
||||
#
|
||||
|
|
|
|||
|
|
@ -34,7 +34,9 @@ Got 4 bytes but pausing!
|
|||
datad474
|
||||
MyCoolTrailerHeader: amazingtrailer
|
||||
</datacheck>
|
||||
|
||||
<servercmd>
|
||||
writedelay: 10
|
||||
</servercmd>
|
||||
</reply>
|
||||
# Client-side
|
||||
<client>
|
||||
|
|
|
|||
|
|
@ -37,6 +37,9 @@ Connection: mooo
|
|||
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaabbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbcccccccccccccccccccccccccccccccc
|
||||
chunky-trailer: header data
|
||||
</datacheck>
|
||||
<servercmd>
|
||||
writedelay: 10
|
||||
</servercmd>
|
||||
</reply>
|
||||
|
||||
#
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue