1# test chunked https 1.1 connection over http relay
2
3use strict;
4use warnings;
5
6my @lengths = ([ 251, 10000, 10 ], 1, [2, 3]);
7our %args = (
8    client => {
9	func => \&http_client,
10	lengths => \@lengths,
11	http_vers => ["1.1"],
12	ssl => 1,
13    },
14    relayd => {
15	protocol => [ "http",
16	    "match request header log foo",
17	    "match response header log Transfer-Encoding",
18	],
19	loggrep => {
20		"{Transfer-Encoding: chunked}" => 1,
21		qr/\[\(null\)\]/ => 0,
22	},
23	forwardssl => 1,
24	listenssl => 1,
25    },
26    server => {
27	func => \&http_server,
28	ssl => 1,
29    },
30    lengths => \@lengths,
31    md5 => [
32	"bc3a3f39af35fe5b1687903da2b00c7f",
33	"fccd8d69acceb0cc35f2fd4e2f6938d3",
34	"c47658d102d5b989e0da09ce403f7463",
35	"68b329da9893e34099c7d8ad5cb9c940",
36	"897316929176464ebc9ad085f31e7284",
37	"0ade138937c4b9cb36a28e2edb6485fc",
38    ],
39);
40
411;
42