# test persistent https 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, ssl => 1, }, relayd => { protocol => [ "http", "request header log foo", "response header log Content-Length", ], loggrep => [ map { "log 'Content-Length: $_'" } @lengths ], forwardssl => 1, listenssl => 1, }, server => { func => \&http_server, ssl => 1, }, lengths => \@lengths, ); 1;