From 3ac12e2ecd30d3feb9c6d3ce550a1785a698d4ad Mon Sep 17 00:00:00 2001 From: Jamie Cameron Date: Sat, 24 Oct 2026 13:21:31 -0700 Subject: [PATCH] Halt uploads if the actual data sent exceeds the configured limit --- web-lib-funcs.pl | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/web-lib-funcs.pl b/web-lib-funcs.pl index 020096fae..ad6e45174 100755 --- a/web-lib-funcs.pl +++ b/web-lib-funcs.pl @@ -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?