args-timeout-https.pl revision 1.1
1# test that 3 seconds timeout occurs within 4 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/ => 1 }, 18 forwardssl => 1, 19 listenssl => 1, 20 }, 21 server => { 22 func => sub { 23 errignore(); 24 http_server(@_); 25 sleep 4; 26 write_char(@_, 4); 27 }, 28 sleep => 1, 29 down => "Broken pipe", 30 nocheck => 1, 31 ssl => 1, 32 }, 33 len => 5, 34); 35 361; 37