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
svn/tags/lighttpd-1.3.15
Jan Kneschke 2005-07-15 18:11:38 +00:00
parent 1791604cb7
commit 94d6a83716
1 changed files with 5 additions and 5 deletions

View File

@ -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 {