1# test that 3 seconds timeout does not occur within 2 seconds idle in http 2 3use strict; 4use warnings; 5 6our %args = ( 7 client => { 8 func => \&http_client, 9 len => 5, 10 timefile => "", 11 ssl => 1, 12 loggrep => 'Issuer.*/OU=relayd/', 13 }, 14 relayd => { 15 protocol => [ "http" ], 16 relay => [ "session timeout 3" ], 17 loggrep => { qr/buffer event timeout/ => 0 }, 18 forwardssl => 1, 19 listenssl => 1, 20 }, 21 server => { 22 func => sub { 23 errignore(); 24 http_server(@_); 25 sleep 2; 26 write_char(@_, 4); 27 }, 28 sleep => 1, 29 nocheck => 1, 30 ssl => 1, 31 }, 32 len => 9, 33); 34 351; 36