summaryrefslogtreecommitdiff
path: root/regress/usr.sbin/relayd/args-timeget-https.pl
blob: a2e381b5243936fac8c81acb66e9fb0712686587 (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 that 2 seconds timeout does not occur while server writes for 4 seconds

use strict;
use warnings;

our %args = (
    client => {
	func => \&http_client,
	len => 5,
	method => "GET",
	timefile => "",
	ssl => 1,
	loggrep => 'Issuer.*/OU=relayd/',
    },
    relayd => {
	relay => [ "session timeout 2" ],
	loggrep => { qr/buffer event timeout/ => 0 },
	forwardssl => 1,
	listenssl => 1,
    },
    server => {
	func => \&http_server,
	sleep => 1,
	method => "GET",
	ssl => 1,
    },
    len => 5,
);

1;