mirror of
https://github.com/webmin/webmin.git
synced 2026-11-02 08:30:40 +00:00
Halt uploads if the actual data sent exceeds the configured limit
This commit is contained in:
@@ -1235,8 +1235,7 @@ while(1) {
|
||||
$count_lines = 0;
|
||||
}
|
||||
if ($max && $got > $max) {
|
||||
#print STDERR "over limit of $max\n";
|
||||
#&error($err);
|
||||
&error($err);
|
||||
}
|
||||
if (!$line) {
|
||||
# Unexpected EOF?
|
||||
|
||||
Reference in New Issue
Block a user