mirror of https://github.com/aria2/aria2
Updated doc
parent
ce5c016066
commit
086c5701e1
|
@ -245,6 +245,8 @@ TrackerWatcherCommand::createRequestGroup(const std::string& uri)
|
||||||
rg->setDiskWriterFactory(dwf);
|
rg->setDiskWriterFactory(dwf);
|
||||||
rg->setFileAllocationEnabled(false);
|
rg->setFileAllocationEnabled(false);
|
||||||
rg->setPreLocalFileCheckEnabled(false);
|
rg->setPreLocalFileCheckEnabled(false);
|
||||||
|
// Clearing pre- and post handler is not needed because the
|
||||||
|
// RequestGroup is not handled by RequestGroupMan.
|
||||||
rg->clearPreDownloadHandler();
|
rg->clearPreDownloadHandler();
|
||||||
rg->clearPostDownloadHandler();
|
rg->clearPostDownloadHandler();
|
||||||
util::removeMetalinkContentTypes(rg);
|
util::removeMetalinkContentTypes(rg);
|
||||||
|
|
Loading…
Reference in New Issue