Merge pull request #502 from kiwix/no-meta4-file

No metalink file on fs
This commit is contained in:
Matthieu Gautier 2021-05-04 13:52:54 +02:00 committed by GitHub
commit ab0ffb55bc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -63,6 +63,7 @@ Aria2::Aria2():
// Try to use a potential installed aria2c. // Try to use a potential installed aria2c.
callCmd.push_back(ARIA2_CMD); callCmd.push_back(ARIA2_CMD);
} }
callCmd.push_back("--follow-metalink=mem");
callCmd.push_back("--enable-rpc"); callCmd.push_back("--enable-rpc");
callCmd.push_back(rpc_secret.c_str()); callCmd.push_back(rpc_secret.c_str());
callCmd.push_back(rpc_port.c_str()); callCmd.push_back(rpc_port.c_str());