summaryrefslogtreecommitdiff
path: root/regress/usr.sbin/relayd/args-https-put.pl
blob: c8a8cef328ecd4a8b03c1e2113b6698bfa558583 (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
# test persistent https 1.1 put over http relay

use strict;
use warnings;

my @lengths = (251, 16384, 0, 1, 2, 3, 4, 5);
our %args = (
    client => {
	func => \&http_client,
	lengths => \@lengths,
	method => "PUT",
	ssl => 1,
    },
    relayd => {
	protocol => [ "http",
	    "request header log foo",
	    "response header log bar",
	],
	forwardssl => 1,
	listenssl => 1,
    },
    server => {
	func => \&http_server,
	ssl => 1,
    },
    lengths => \@lengths,
    md5 => "bc3a3f39af35fe5b1687903da2b00c7f",
);

1;