disable duplicate-header-check for now
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.3.x@456 152afb58-edef-0310-8abb-c4023f1b3aa9svn/tags/lighttpd-1.3.15
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…
Reference in New Issue