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 18 years ago
parent 1791604cb7
commit 94d6a83716

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

Loading…
Cancel
Save