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 <noreply@anthropic.com>
This commit is contained in:
Shekhar Vaidya 2026-05-12 19:37:17 +05:30
parent 462b31a650
commit 79e21bb487
2 changed files with 2 additions and 2 deletions

View file

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

View file

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