diff options
Diffstat (limited to 'regress/usr.sbin/relayd/args-timeget-http.pl')
-rw-r--r-- | regress/usr.sbin/relayd/args-timeget-http.pl | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/regress/usr.sbin/relayd/args-timeget-http.pl b/regress/usr.sbin/relayd/args-timeget-http.pl new file mode 100644 index 00000000000..0e18d2f14ab --- /dev/null +++ b/regress/usr.sbin/relayd/args-timeget-http.pl @@ -0,0 +1,25 @@ +# test that 2 seconds timeout does not occur while server writes for 4 seconds + +use strict; +use warnings; + +our %args = ( + client => { + func => \&http_client, + len => 5, + method => "GET", + timefile => "", + }, + relayd => { + relay => [ "session timeout 2" ], + loggrep => { qr/(buffer event|splice) timeout/ => 0 }, + }, + server => { + func => \&http_server, + sleep => 1, + method => "GET", + }, + len => 5, +); + +1; |