From c3114b4e5fd35d7f9842e994807b07fef5431737 Mon Sep 17 00:00:00 2001 From: Max Maischein Date: Fri, 8 Nov 2024 15:17:36 +0100 Subject: [PATCH] Reset progress on redirect --- script/curl.pl | 1 + 1 file changed, 1 insertion(+) diff --git a/script/curl.pl b/script/curl.pl index 553b936..6de8dd0 100644 --- a/script/curl.pl +++ b/script/curl.pl @@ -111,6 +111,7 @@ ( $request ) my $redirect = { $request->%* }; $redirect->{progress} = $progress; + $progress->total(undef); $redirect->{url} = $res->headers->header('Location'); submit_download($redirect);