args-timein-http.pl revision 1.3
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 loggrep => { qr/(buffer event|splice) timeout/ => 0 }, 16 }, 17 server => { 18 func => sub { 19 errignore(); 20 http_server(@_); 21 sleep 2; 22 write_char(@_, 4); 23 }, 24 sleep => 1, 25 nocheck => 1, 26 }, 27 len => 9, 28); 29 301; 31