Halt uploads if the actual data sent exceeds the configured limit

This commit is contained in:
Jamie Cameron
2026-10-24 13:21:31 -07:00
parent ba1219787c
commit 3ac12e2ecd

View File

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