blob: 986a07270e0264effb749e6d6618dee3762860ae (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
varnishtest "Continuation frames"
server s1 {
stream 1 {
rxreq
txresp -nohdrend
txcont -nohdrend -hdr "foo" "bar"
txcont -hdr "baz" "qux"
} -run
stream 3 {
rxreq
txresp -nohdrend
txcont -nohdrend -hdr "foo2" "bar2"
txcont -hdr "baz2" "qux2"
} -run
} -start
client c1 -connect ${s1_sock} {
stream 1 {
txreq
rxhdrs -all
expect resp.http.foo == "bar"
expect resp.http.baz == "qux"
} -run
stream 3 {
txreq
rxhdrs -some 2
expect resp.http.foo2 == <undef>
expect resp.http.baz2 == <undef>
rxcont
expect resp.http.foo2 == "bar2"
expect resp.http.baz2 == "qux2"
} -run
} -run
server s1 -wait
|