args-http-headerlength.pl revision 1.2
1use strict; 2use warnings; 3 4my %header = ( "Host" => "www.example.com", "Set-Cookie" => "a="."X"x8192 ); 5our %args = ( 6 client => { 7 func => \&http_client, 8 header => \%header, 9 httpnok => 1, 10 nocheck => 1, 11 loggrep => qr/HTTP\/1\.0 413 Payload Too Large/, 12 }, 13 relayd => { 14 protocol => [ "http", 15 'return error', 16 'pass', 17 ], 18 loggrep => qr/413 Payload Too Large/, 19 }, 20 server => { 21 noserver => 1, 22 nocheck => 1, 23 }, 24); 25 261; 27