Commit 202f04bc authored by Marius Burkard's avatar Marius Burkard

- fixed vlogger error on non-numeric request size, fixes #5059

parent beefb85b
......@@ -510,11 +510,9 @@ else {
$log_line =~ s/^\S*\s+//o;
}
if ($reqsize ne "-") {
if ( $reqsize =~ m/\d|/ && $reqsize > 0 ) {
$tracker{$vhost} += $reqsize;
}
}
if ( $reqsize =~ m/^\d+$/ && $reqsize > 0 ) {
$tracker{$vhost} += $reqsize;
}
print $vhost $log_line;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment