From 79e21bb4875914074984888398334076022afb37 Mon Sep 17 00:00:00 2001 From: Shekhar Vaidya Date: Tue, 12 May 2026 19:37:17 +0530 Subject: [PATCH] fix(frontend): add --disable-ipv6=true to generated aria2 command IPv6 failures (broken routing, disabled IPv6, VPN/Pi-hole setups) cause aria2 to abort instead of falling back to IPv4. The flag is a safe default on all network configurations. Co-Authored-By: Claude Sonnet 4.6 --- frontend/src/components/Aria2Tip.tsx | 2 +- frontend/src/components/FAQAccordion.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/components/Aria2Tip.tsx b/frontend/src/components/Aria2Tip.tsx index cf23a7e..f99d363 100644 --- a/frontend/src/components/Aria2Tip.tsx +++ b/frontend/src/components/Aria2Tip.tsx @@ -12,7 +12,7 @@ export default function Aria2Tip({ downloadUrl }: Aria2TipProps) { const [copied, setCopied] = useState(false) const urlPlaceholder = downloadUrl || 'PASTE_YOUR_LINK_HERE' - const command = `aria2c -x 16 -s 16 "${urlPlaceholder}"` + const command = `aria2c -x 16 -s 16 --disable-ipv6=true "${urlPlaceholder}"` function handleCopy() { navigator.clipboard.writeText(command) diff --git a/frontend/src/components/FAQAccordion.tsx b/frontend/src/components/FAQAccordion.tsx index 8e68069..05b1d03 100644 --- a/frontend/src/components/FAQAccordion.tsx +++ b/frontend/src/components/FAQAccordion.tsx @@ -22,7 +22,7 @@ const faqs: FaqItem[] = [ }, { q: 'Can I use this with IDM or aria2?', - a: 'Absolutely — and we strongly recommend it. Microsoft throttles single-threaded browser downloads. Tools like aria2 (aria2c -x 16 -s 16 "URL") or IDM use 16 parallel connections, which typically give you full line speed on their CDN.', + a: 'Absolutely — and we strongly recommend it. Microsoft throttles single-threaded browser downloads. Tools like aria2 (aria2c -x 16 -s 16 --disable-ipv6=true "URL") or IDM use 16 parallel connections, which typically give you full line speed on their CDN.', }, { q: 'What\'s the difference between the various product IDs?',