# test persistent http 1.1 connection and grep for content length use strict; use warnings; my @lengths = (1, 2, 0, 3, 4); our %args = ( client => { func => \&http_client, lengths => \@lengths, }, relayd => { protocol => [ "http", "request header log foo", "response header log Content-Length", ], loggrep => [ map { "log 'Content-Length: $_'" } @lengths ], }, server => { func => \&http_server, }, lengths => \@lengths, ); 1;