| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Add timeout when receiving Multicast packet in LpdMessageDispatcherTest | Tatsuhiro Tsujikawa | 2013-03-21 | 1 | -1/+14 |
| | | |||||
| * | Fix unit test HttpRequestTest.cc | Tatsuhiro Tsujikawa | 2013-03-18 | 1 | -1/+2 |
| | | |||||
| * | Implement IndexedList::iterator | Tatsuhiro Tsujikawa | 2013-03-03 | 4 | -41/+157 |
| | | | | | | It is dangerous to expose internal iterator to the outside, which is easily misused. | ||||
| * | Add GZipFileTest | Tatsuhiro Tsujikawa | 2013-03-03 | 2 | -1/+60 |
| | | | | | For now, it is a copy of BufferedFileTest.cc | ||||
| * | Fix missing value in serialized pause option | Tatsuhiro Tsujikawa | 2013-03-03 | 1 | -0/+3 |
| | | |||||
| * | Support for gzipped -i and --save-session | Nils Maier | 2013-03-02 | 1 | -4/+4 |
| | | | | | | | | | | | | Saved sessions may very large, as in hundreds and even thousands of megabyte when dealing with large queues. Add support to save and reload sessions to gzipped files, when libz is available. The session serializer will output gzipped contents when the file ends with .gz, while the input file reader (UriListParser) will accept whatever is thrown at it. | ||||
| * | Hygiene: Fix some clang warnings, mostly unused private members. | Nils Maier | 2013-03-01 | 2 | -7/+7 |
| | | |||||
| * | Fix infinite loop when size of downloadResults_ exceeds maxDownloadResult_ | Tatsuhiro Tsujikawa | 2013-02-25 | 4 | -20/+40 |
| | | |||||
| * | Support UDP tracker | Tatsuhiro Tsujikawa | 2013-02-25 | 5 | -1/+531 |
| | | | | | | It shares UDP listening port with IPv4 DHT. At the moment, in order to enable UDP tracker support, enable IPv4 DHT. | ||||
| * | Add test when instance-length is 0 | Tatsuhiro Tsujikawa | 2013-02-21 | 1 | -0/+7 |
| | | |||||
| * | Add test for saving finished download with force-save option | Tatsuhiro Tsujikawa | 2013-02-04 | 1 | -2/+11 |
| | | |||||
| * | Fix bug that active downloads are not saved with --save-session-interval | Tatsuhiro Tsujikawa | 2013-02-04 | 1 | -0/+10 |
| | | |||||
| * | Fix invalid iterator handling when deleting RequestGroup | Tatsuhiro Tsujikawa | 2013-02-03 | 1 | -2/+25 |
| | | |||||
| * | test: Add missing filelist2.txt to EXTRA_DIST | Tatsuhiro Tsujikawa | 2013-02-02 | 1 | -0/+1 |
| | | |||||
| * | Use std::deque instead of std::list in IndexedList | Tatsuhiro Tsujikawa | 2013-02-01 | 3 | -2/+114 |
| | | | | | We choose faster iteration over rare slower deletion in the middle. | ||||
| * | Rename /BadCondition/ in Peer to /Drop/ | Tatsuhiro Tsujikawa | 2013-01-26 | 1 | -12/+12 |
| | | |||||
| * | Remove PeerStorage::getActivePeers() and add getUsedPeers() instead | Tatsuhiro Tsujikawa | 2013-01-26 | 2 | -31/+7 |
| | | | | | | PeerStorage::getUsedPeers() returns non-active peers, so caller must call Peer::isActive() to get active peers. | ||||
| * | Refactor peer list management in DefaultPeerStorage | Tatsuhiro Tsujikawa | 2013-01-26 | 6 | -169/+110 |
| | | | | | | | | | Peer list is now divided into 2: unusedPeers_ and usedPeers_. Duplicate check is done using std::set by comparing pair of IP address and port. For this, only IP address and port given to the Peer constructor are used. In other words, TCP port received from extended message is not used for this purpose. | ||||
| * | Remove Append and StringAppend | Tatsuhiro Tsujikawa | 2013-01-15 | 1 | -5/+1 |
| | | |||||
| * | Accept k and m as well as K and M in util::getRealSize() | Tatsuhiro Tsujikawa | 2013-01-15 | 1 | -0/+2 |
| | | |||||
| * | Fix unit test error | Tatsuhiro Tsujikawa | 2013-01-14 | 1 | -2/+2 |
| | | |||||
| * | Removed BtMessage::isSendingProgress() | Tatsuhiro Tsujikawa | 2013-01-11 | 4 | -77/+0 |
| | | | | | | DefaultBtMessageDispatcher::isSendingInProgress() now checks the number of buffer entry in PeerConnection. | ||||
| * | Vectorized write for SocketBuffer to avoid small packet | Tatsuhiro Tsujikawa | 2013-01-11 | 6 | -37/+23 |
| | | |||||
| * | Use request URI as referer if --referer="*" is given | Tatsuhiro Tsujikawa | 2013-01-08 | 1 | -0/+15 |
| | | |||||
| * | Fixed bug that USR_BASENAME is not defined | Tatsuhiro Tsujikawa | 2012-12-27 | 1 | -0/+29 |
| | | | | | | In some cases, if the dirname is only "/", the basename will not be defined (e.g., "/f"). This change fixes this bug. | ||||
| * | Simplified RequestGroupMan::fillRequestGroupFromReserver | Tatsuhiro Tsujikawa | 2012-12-22 | 3 | -0/+65 |
| | | |||||
| * | Changed threshold of using upper unit for abbrevSize | Tatsuhiro Tsujikawa | 2012-12-19 | 1 | -2/+1 |
| | | |||||
| * | Faster deletion of RequestGroup and DownloadResult lists | Tatsuhiro Tsujikawa | 2012-12-19 | 6 | -36/+312 |
| | | |||||
| * | Save gid option with --save-session option | Tatsuhiro Tsujikawa | 2012-12-17 | 1 | -5/+27 |
| | | |||||
| * | Use map to make DownloadResult lookup fast | Tatsuhiro Tsujikawa | 2012-12-16 | 1 | -0/+1 |
| | | |||||
| * | Use 64 bits random bytes as GID | Tatsuhiro Tsujikawa | 2012-12-16 | 13 | -92/+282 |
| | | | | | | | | | | | This change replaces the current 64 bit sequential GID with 64 bits random bytes GID in an attempt to support persistent GID. Internally, the GID is stored as uint64_t. For human representation and RPC interface, GID is represented as 16 bytes hex string. For console readout, 16 bytes are too long, so it is abbreviated to first 6 bytes. When querying GID in RPC calls, user can speicfy the prefix of GID as long as the prefix is shared by more than 1 GID entries. | ||||
| * | Fixed BitfieldMan::getOffsetCompletedLength overflow on 32-bit systems | Tatsuhiro Tsujikawa | 2012-12-16 | 1 | -0/+22 |
| | | |||||
| * | mingw32: Use HANDLE only for MinGW32 build | Tatsuhiro Tsujikawa | 2012-12-15 | 2 | -10/+7 |
| | | |||||
| * | Compact readout when more than 1 simultaneous downloads are going on | Tatsuhiro Tsujikawa | 2012-12-11 | 1 | -5/+8 |
| | | | | | | | | | If more than 1 simultaneous downloads are going on, use more compact format in readout. Currently, at most 5 download stats are displayed. util::abbrevSize() is rewritten to support "Gi" unit and provides more compact abbreviation. | ||||
| * | Fixed bug that size_ is not updated when WrDiskCacheEntry::append is called | Tatsuhiro Tsujikawa | 2012-12-06 | 1 | -0/+1 |
| | | |||||
| * | Append new data to the contagious cache data | Tatsuhiro Tsujikawa | 2012-12-06 | 4 | -2/+44 |
| | | | | | | | If we receive small data (e.g., 1 or 2 bytes), cache entry becomes a headache. To mitigate this problem, we allocate cache buffer at least 4KiB and append the data to the contagious cache data. | ||||
| * | Clear write cache on Segment::clear and Piece::clearAllBlock | Tatsuhiro Tsujikawa | 2012-12-06 | 3 | -3/+3 |
| | | |||||
| * | Write data in 4K aligned offset in write with disk cache enabled | Tatsuhiro Tsujikawa | 2012-12-06 | 3 | -1/+76 |
| | | | | | | This greatly reduces disk activity especially on Win + NTFS. Not so much difference on Linux. | ||||
| * | Removed unused members | Tatsuhiro Tsujikawa | 2012-12-03 | 1 | -1/+0 |
| | | |||||
| * | Added --disk-cache option | Tatsuhiro Tsujikawa | 2012-12-03 | 8 | -7/+223 |
| | | | | | | | | | | | This option enables disk cache. If SIZE is 0, the disk cache is disabled. This feature caches the downloaded data in memory, which grows to at most SIZE bytes. The cache storage is created for aria2 instance and shared by all downloads. The one advantage of the disk cache is reduce the disk seek time because the data is written in larger unit and it is reordered by the offset of the file. If the underlying file is heavily fragmented it is not the case. | ||||
| * | Made socket non-blocking mode in SocketCore::beginListen() | Tatsuhiro Tsujikawa | 2012-11-28 | 2 | -0/+2 |
| | | |||||
| * | Made socket non-blocking mode in SocketCore::acceptConnection() | Tatsuhiro Tsujikawa | 2012-11-28 | 1 | -1/+2 |
| | | |||||
| * | Made return type of util::parse_content_disposition ssize_t | Tatsuhiro Tsujikawa | 2012-11-01 | 1 | -91/+91 |
| | | |||||
| * | Content-Disposition parser conforming to RFC 6266. | Tatsuhiro Tsujikawa | 2012-10-27 | 1 | -104/+606 |
| | | | | | RFC 2231 Continuation is not supported. | ||||
| * | Reworked download/upload statistics calculation | Tatsuhiro Tsujikawa | 2012-10-25 | 5 | -38/+8 |
| | | | | | | | | | | | | | | | The old implementation calculates download/upload statistics for a RequestGroup by summing up all PeerStat objects. For global statistics, those are summed together. This clearly incurs runtime penalty and we introduced some kind of caching which updates statistics every 250ms but it did not work right. This change removes all these aggregation code, and instead makes RequestGroup and RequestGroupMan objects hold NetStat object and download/upload bytes are directly calculated by thier own NetStat. This is far more simplar than the old way and less runtime penalty and brings more accuracy. | ||||
| * | Made HTTP/FTP download speed limiter more accurate | Tatsuhiro Tsujikawa | 2012-10-24 | 1 | -3/+0 |
| | | | | | We have to do the same thing for BitTorrent. | ||||
| * | Added --rpc-save-upload-metadata option | Tatsuhiro Tsujikawa | 2012-10-16 | 1 | -3/+26 |
| | | | | | | | | | | | If true is given, which is default, save the uploaded torrent or metalink metadata in the directory specified by --dir option. The filename consists of SHA1-hash hex string of metadata plus extension. For torrent, the extension is '.torrent'. For metalink, it is '.meta4'. If false is given to this option, the downloads added by aria2.addTorrent or aria2.addMetalink will not be saved by --save-session option. | ||||
| * | Rewritten URI parser | Tatsuhiro Tsujikawa | 2012-10-14 | 3 | -28/+396 |
| | | |||||
| * | Removed trailing spaces | Tatsuhiro Tsujikawa | 2012-10-01 | 82 | -251/+251 |
| | | |||||
| * | Dont' return SharedHandle from HttpHeader::getRange() | Tatsuhiro Tsujikawa | 2012-09-30 | 2 | -35/+35 |
| | | |||||
