args-timeout-http.pl revision 1.2
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 }, 11 relayd => { 12 protocol => [ "http" ], 13 relay => [ "session timeout 3" ], 14 }, 15 server => { 16 func => sub { 17 errignore(); 18 http_server(@_); 19 sleep 5; 20 write_char(@_, 5); 21 }, 22 sleep => 1, 23 down => "Broken pipe", 24 nocheck => 1, 25 }, 26 len => 5, 27); 28 291; 30