mirror of
https://github.com/aria2/aria2.git
synced 2025-04-05 21:47:37 +03:00
* src/FtpNegotiateCommand.cc (recvGreeting): Call disableWriteCheckSocket just after socket->setBlockingMode(). This avoids unnecessary CPU-hog loop. 2006-08-07 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com> * src/PeerChokeCommand.h (PeerChokeCommand): Rearranged the arguments. * src/PeerChokeCommand.cc (PeerChokeCommand): Rearranged the arguments. * src/MetalinkEntry.h (Checksum.h): Included. (md5): Removed. (sha1): Removed. (checksum): New variable. (operator=): Updated. (check): Removed. * src/prefs.h (PREF_LOWEST_SPEED_LIMIT): New definition. (PREF_FOLLOW_TORRENT): New definition. (PREF_SELECT_FILE): New definition. (PREF_FOLLOW_METALINK): New definition. * src/MetalinkResource.h (TYPE_HTTPS): Added to enum TYPE. * src/TorrentMan.cc (~TorrentMan): Rewritten. * src/MultiDiskWriter.cc (MultiDiskAdaptor): Updated according to the changes in MessageDigestContext. (~MultiDiskAdaptor): Updated according to the changes in MessageDigestContext. (hashUpdate): Updated according to the changes in MessageDigestContext. (sha1Sum): Updated according to the changes in MessageDigestContext. * src/Util.h (fileChecksum): Updated according to the changes in MessageDigestContext. * src/Util.cc (sha1Sum): Updated according to the changes in MessageDigestContext. (fileChecksum): Updated according to the changes in MessageDigestContext. * src/messageDigest.h: Rewritten. * src/MetalinkEntry.cc (check): Removed. (Supported): Updated. (dropUnsupportedResource): Fixed a memory leak. * src/ShaVisitor.cc (ShaVisitor): Updated according to the changes in MessageDigestContext. (~ShaVisitor): Updated according to the changes in MessageDigestContext. (visit): Updated according to the changes in MessageDigestContext. * src/main.cc (main): Rewritten the portion of download loop. --lowest-speed-limit command-line option added. * src/DownloadEngine.h (SocketEntry): New class. (SocketEntries): New definition. (PairFind): Removed. (SockCmdMap): Removed. * src/DownloadEngine.cc (DownloadEngine): Rewritten. (~DownloadEngine): Rewritten. (run): Renamed activeCommandUuids as activeUuids. (SetDescriptor): Rewritten. (AccumulateActiveCommandUuid): Removed. (AccumulateActiveUuid): New function object. (waitData): Rewritten. (updateFdSet): Rewritten. (addSocket): Rewritten. (deleteSocket): Rewritten. (addSocketForReadCheck): Rewritten. (deleteSocketForReadCheck): Rewritten. (addSocketForWriteCheck): Rewritten. (deleteSocketForWriteCheck): Rewritten. * src/Xml2MetalinkProcessor.cc (getEntry): Rewritten the portion of MetalinkEntry creation. * src/DownloadCommand.cc (executeInternal): Added the check routine for lowest speed limit. * src/AbstractDiskWriter.cc (AbstractDiskWriter): Updated according to the changes in MessageDigestContext. (~AbstractDiskWriter): Updated according to the changes in MessageDigestContext. (sha1Sum): Updated according to the changes in MessageDigestContext. * src/RequestInfo.h: New class. * src/UrlRequestInfo.h: New class. * src/UrlRequestInfo.cc: New class. * src/TorrentRequestInfo.h: New class. * src/TorrentRequestInfo.cc: New class. * src/MetalinkRequestInfo.h: New class. * src/MetalinkRequestInfo.cc: New class. * src/Checksum.h: New class. * src/DownloadEngineFactory.h: New class. * src/DownloadEngineFactory.cc: New class. |
||
---|---|---|
.. | ||
4096chunk.txt | ||
AllowedFastMessageTest.cc | ||
AllTest.cc | ||
Base64Test.cc | ||
BitfieldManTest.cc | ||
BitfieldMessageTest.cc | ||
CancelMessageTest.cc | ||
ChokeMessageTest.cc | ||
ChunkedEncodingTest.cc | ||
CookieBoxTest.cc | ||
DataTest.cc | ||
DefaultDiskWriterTest.cc | ||
DictionaryTest.cc | ||
FeatureConfigTest.cc | ||
file1r.txt | ||
file2r.txt | ||
file3r.txt | ||
FileTest.cc | ||
HaveAllMessageTest.cc | ||
HaveMessageTest.cc | ||
HaveNoneMessageTest.cc | ||
InterestedMessageTest.cc | ||
ListTest.cc | ||
Makefile.am | ||
Makefile.in | ||
MetaFileUtilTest.cc | ||
MetalinkEntryTest.cc | ||
MetalinkerTest.cc | ||
MultiDiskWriterTest.cc | ||
NotInterestedMessageTest.cc | ||
OptionTest.cc | ||
PeerMessageUtilTest.cc | ||
PieceMessageTest.cc | ||
RejectMessageTest.cc | ||
RequestMessageTest.cc | ||
RequestTest.cc | ||
RequestToString.cc | ||
ShaVisitorTest.cc | ||
SuggestPieceMessageTest.cc | ||
test.torrent | ||
test.xml | ||
TorrentManTest.cc | ||
UnchokeMessageTest.cc | ||
UtilTest.cc | ||
Xml2MetalinkProcessorTest.cc |