Browse Source

Updated doc

Tatsuhiro Tsujikawa 13 năm trước cách đây
mục cha
commit
086c5701e1
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 2 0
      src/TrackerWatcherCommand.cc

+ 2 - 0
src/TrackerWatcherCommand.cc

@@ -245,6 +245,8 @@ TrackerWatcherCommand::createRequestGroup(const std::string& uri)
   rg->setDiskWriterFactory(dwf);
   rg->setFileAllocationEnabled(false);
   rg->setPreLocalFileCheckEnabled(false);
+  // Clearing pre- and post handler is not needed because the
+  // RequestGroup is not handled by RequestGroupMan.
   rg->clearPreDownloadHandler();
   rg->clearPostDownloadHandler();
   util::removeMetalinkContentTypes(rg);