1# test http connection with request filter and explicit content length 0 2 3use strict; 4use warnings; 5 6our %args = ( 7 client => { 8 func => \&http_client, 9 header => { 10 'Content-Length' => 0, 11 }, 12 len => 1, 13 }, 14 relayd => { 15 protocol => [ "http", 16 'block request path "/2"', 17 ], 18 loggrep => qr/done/, 19 }, 20 server => { 21 func => \&http_server, 22 }, 23 len => 1, 24 md5 => "68b329da9893e34099c7d8ad5cb9c940", 25); 26 271; 28