Tatsuhiro Tsujikawa пре 13 година
родитељ
комит
086c5701e1
1 измењених фајлова са 2 додато и 0 уклоњено
  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);