From 94d6a837169902a9bd5c4e8ef26bbe94e5ce1f51 Mon Sep 17 00:00:00 2001 From: Jan Kneschke Date: Fri, 15 Jul 2005 18:11:38 +0000 Subject: [PATCH] disable duplicate-header-check for now git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.3.x@456 152afb58-edef-0310-8abb-c4023f1b3aa9 --- tests/LightyTest.pm | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/LightyTest.pm b/tests/LightyTest.pm index 0d31345a..6ecd1e87 100755 --- a/tests/LightyTest.pm +++ b/tests/LightyTest.pm @@ -152,11 +152,11 @@ sub handle_http { if ($line =~ /^([^:]+):\s*(.+)$/) { (my $h = $1) =~ tr/[A-Z]/[a-z]/; - if (defined $resp_hdr{$h}) { - diag(sprintf("header %s is duplicated: %s and %s\n", - $h, $resp_hdr{$h}, $2)); - return -1; - } +# if (defined $resp_hdr{$h}) { +# diag(sprintf("header %s is duplicated: %s and %s\n", +# $h, $resp_hdr{$h}, $2)); +# return -1; +# } $resp_hdr{$h} = $2; } else {