xref: /openbsd-src/regress/usr.sbin/relayd/args-timeput-https.pl (revision 090644eea0e90f4bfe2f81bf0092f7b7f350fca7)
1# test that 2 seconds timeout does not occur while client writes for 4 seconds
2
3use strict;
4use warnings;
5
6our %args = (
7    client => {
8	func => \&http_client,
9	len => 5,
10	sleep => 1,
11	method => "PUT",
12	timefile => "",
13	ssl => 1,
14	loggrep => 'Issuer.*/OU=relayd/',
15    },
16    relayd => {
17	relay => [ "session timeout 2" ],
18	loggrep => { qr/buffer event timeout/ => 0 },
19	forwardssl => 1,
20	listenssl => 1,
21    },
22    server => {
23	func => \&http_server,
24	method => "PUT",
25	ssl => 1,
26    },
27    len => 5,
28);
29
301;
31