args-https-chunked.pl revision 1.2
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	ssl => 1,
12	mreqs => 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" => 2,
21		qr/\[\(null\)\]/ => 0,
22	},
23	forwardssl => 1,
24	listenssl => 1,
25    },
26    server => {
27	func => \&http_server,
28	ssl => 1,
29	mreqs => scalar(@lengths),
30    },
31    lengths => \@lengths,
32    md5 => "bc3a3f39af35fe5b1687903da2b00c7f",
33);
34
351;
36