args-timein-http.pl revision 1.1
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 }, 11 relayd => { 12 protocol => [ "http" ], 13 relay => [ "session timeout 3" ], 14 }, 15 server => { 16 func => sub { 17 errignore(); 18 http_server(@_); 19 sleep 2; 20 write_char(@_, 4); 21 }, 22 sleep => 1, 23 nocheck => 1, 24 }, 25 len => 9, 26); 27 281; 29