mirror of
https://github.com/aria2/aria2.git
synced 2026-04-13 00:09:32 +00:00
Cleared pre and post download handlers from BitTorrent tracker request
This commit is contained in:
@@ -245,6 +245,8 @@ TrackerWatcherCommand::createRequestGroup(const std::string& uri)
|
||||
rg->setDiskWriterFactory(dwf);
|
||||
rg->setFileAllocationEnabled(false);
|
||||
rg->setPreLocalFileCheckEnabled(false);
|
||||
rg->clearPreDownloadHandler();
|
||||
rg->clearPostDownloadHandler();
|
||||
util::removeMetalinkContentTypes(rg);
|
||||
A2_LOG_INFO(fmt("Creating tracker request group GID#%" PRId64 "", rg->getGID()));
|
||||
return rg;
|
||||
|
||||
Reference in New Issue
Block a user