From 756592bf4d937f63829fcaaafb38e338417eb407 Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Mon, 19 Apr 2010 12:47:50 +0000 Subject: [PATCH] 2010-04-19 Tatsuhiro Tsujikawa Reverted previous change to DownloadCommand.cc with additional commentary. * src/DownloadCommand.cc --- ChangeLog | 6 ++++++ src/DownloadCommand.cc | 4 ++++ 2 files changed, 10 insertions(+) diff --git a/ChangeLog b/ChangeLog index 8d1a3991..0502e01a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2010-04-19 Tatsuhiro Tsujikawa + + Reverted previous change to DownloadCommand.cc with additional + commentary. + * src/DownloadCommand.cc + 2010-04-16 Tatsuhiro Tsujikawa Fixed compile error with openssl 1.1.0 and mingw32. diff --git a/src/DownloadCommand.cc b/src/DownloadCommand.cc index f886fc3c..226720d8 100644 --- a/src/DownloadCommand.cc +++ b/src/DownloadCommand.cc @@ -292,6 +292,10 @@ bool DownloadCommand::prepareForNextSegment() { // TODO do we need cuttrailinggarbage here? e->_checkIntegrityMan->pushEntry(entry); } + // Following 2lines are needed for DownloadEngine to detect + // completed RequestGroups without 1sec delay. + e->setNoWait(true); + e->setRefreshInterval(0); #endif // ENABLE_MESSAGE_DIGEST return true; } else {