From b1edad42ffd144f449d9d4d81d414d6fb65cb46b Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Wed, 26 Nov 2008 15:22:54 +0000 Subject: 2008-11-27 Tatsuhiro Tsujikawa Fixed the bug that prevents aria2 from downloading 0-length files via HTTP/FTP. * src/DefaultBtContext.cc * src/DefaultBtContext.h * src/DownloadContext.h * src/FtpNegotiationCommand.cc * src/HttpResponseCommand.cc * src/HttpResponseCommand.h * src/RequestGroup.cc * src/SingleFileDownloadContext.cc * src/SingleFileDownloadContext.h * test/BtPostDownloadHandlerTest.cc * test/MetalinkPostDownloadHandlerTest.cc * test/MockBtContext.h --- src/HttpResponseCommand.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/HttpResponseCommand.h') diff --git a/src/HttpResponseCommand.h b/src/HttpResponseCommand.h index 0a622c16..f439b19f 100644 --- a/src/HttpResponseCommand.h +++ b/src/HttpResponseCommand.h @@ -62,6 +62,8 @@ private: = SharedHandle()); void updateLastModifiedTime(const Time& lastModified); + + void poolConnection(); protected: bool executeInternal(); -- cgit