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