| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Use default where possible | Nils Maier | 2016-08-29 | 1 | -1/+1 |
| | | |||||
| * | Refactor SocketCore::getPeerInfo, getAddrInfo to return Endpoint object | Tatsuhiro Tsujikawa | 2016-01-09 | 1 | -4/+3 |
| | | |||||
| * | make clang-format using clang-format-3.6 | Tatsuhiro Tsujikawa | 2015-12-27 | 1 | -235/+286 |
| | | |||||
| * | Replace timer facility with chrono lib | Tatsuhiro Tsujikawa | 2015-06-09 | 1 | -2/+4 |
| | | |||||
| * | ftp, sftp: Fix heap-after-free bug on exception | Tatsuhiro Tsujikawa | 2015-05-28 | 1 | -1/+1 |
| | | |||||
| * | ftp: Fix timeout when reusing FTP connection | Tatsuhiro Tsujikawa | 2015-05-28 | 1 | -0/+1 |
| | | |||||
| * | ftp: Fix accessing first element in empty segments vector | Tatsuhiro Tsujikawa | 2015-05-12 | 1 | -1/+3 |
| | | |||||
| * | Fixed some typos in code comments | Dan Fandrich | 2015-01-16 | 1 | -1/+1 |
| | | |||||
| * | Use std::make_shared and make_unique where possible, part 1 | Tatsuhiro Tsujikawa | 2014-09-13 | 1 | -13/+13 |
| | | |||||
| * | Support PREF_DIR change for Metalink files | Tatsuhiro Tsujikawa | 2014-06-04 | 1 | -4/+6 |
| | | | | | | Reworked previous commit adeead6f0396e2f8551d1182972e277728fd6c8b, and now support changing PREF_DIR for Metalink downloads. | ||||
| * | Remove ENABLE_MESSAGE_DIGEST, since we got the internal md, always | Nils Maier | 2014-04-17 | 1 | -9/+3 |
| | | |||||
| * | Don't fail multiple concurrent dl same file if auto-file-renaming is enabled | Tatsuhiro Tsujikawa | 2013-11-08 | 1 | -8/+3 |
| | | |||||
| * | Use std::unique_ptr for CheckIntegrityEntry and FileAllocationEntry | Tatsuhiro Tsujikawa | 2013-07-06 | 1 | -9/+10 |
| | | |||||
| * | Use std::unique_ptr for HttpRequest instead of std::shared_ptr | Tatsuhiro Tsujikawa | 2013-07-04 | 1 | -2/+2 |
| | | |||||
| * | Wrap Command object in std::unique_ptr | Tatsuhiro Tsujikawa | 2013-06-23 | 1 | -6/+5 |
| | | |||||
| * | Require -std=c++11 and use std::shared_ptr instead of SharedHandle | Tatsuhiro Tsujikawa | 2013-06-22 | 1 | -18/+18 |
| | | |||||
| * | Support off64_t for Android build | Tatsuhiro Tsujikawa | 2013-05-06 | 1 | -1/+1 |
| | | | | | | | | | Android NDK R8e does not provide ftruncate64, but bionic has the assembler code to access kernel function. We borrowed those ftruncate64.S files from android source code repository. It turns out that x86 asm.h in NDK R8e is also broken, so latest asm.h was also borrowed. | ||||
| * | Rewrite backup connection handling | Tatsuhiro Tsujikawa | 2013-04-01 | 1 | -51/+1 |
| | | | | | | | | Now dedicated ConnectCommand handles connection establishment. It checks whether connection is established or not. It also handles backup connection. The next Command creation is abstracted using ControlChain struct template. | ||||
| * | Implement simple Happy Eyeballs for HTTP/FTP downloads | Tatsuhiro Tsujikawa | 2013-04-01 | 1 | -1/+43 |
| | | |||||
| * | Fix failure to set TCP_NODELAY on Windows | Tatsuhiro Tsujikawa | 2013-02-03 | 1 | -5/+1 |
| | | | | | | On Windows setting TCP_NODELAY after non-blocking connect fails at least on Windows 7. | ||||
| * | Disable TCP_NODELAY for BitTorrent | Tatsuhiro Tsujikawa | 2013-01-15 | 1 | -0/+4 |
| | | | | | To make Request messages more often packed into 1 packet. | ||||
| * | Use 64 bits random bytes as GID | Tatsuhiro Tsujikawa | 2012-12-16 | 1 | -1/+1 |
| | | | | | | | | | | | 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. | ||||
| * | Made socket non-blocking mode in SocketCore::acceptConnection() | Tatsuhiro Tsujikawa | 2012-11-28 | 1 | -2/+1 |
| | | |||||
| * | Removed trailing spaces | Tatsuhiro Tsujikawa | 2012-10-01 | 1 | -4/+4 |
| | | |||||
| * | Removed *Handle typedef | Tatsuhiro Tsujikawa | 2012-09-28 | 1 | -2/+2 |
| | | |||||
| * | Use std::string for SocketPoolEntry::options_ | Tatsuhiro Tsujikawa | 2012-09-26 | 1 | -3/+3 |
| | | | | | | Currently, we only store 1 value for FTP download. std::map is overkill in the this situation. | ||||
| * | Use int64_t instead of off_t | Tatsuhiro Tsujikawa | 2012-06-25 | 1 | -1/+1 |
| | | | | | | Some classes such as DiskAdaptor, DiskWriter, FileAllocationIterator and ChecksumValidator are left unchanged. | ||||
| * | Use PRId64 for int64_t format specifier | Tatsuhiro Tsujikawa | 2012-06-25 | 1 | -6/+5 |
| | | |||||
| * | aria2 now doesn't assume download's completed just because file size matched | Tatsuhiro Tsujikawa | 2012-01-08 | 1 | -14/+45 |
| | | | | | | | | | The only exception is zero-length file. If server tells file is zero-length and --checksum option is given, aria2 now correctly checks its checksum. There is one known issue: If downloaded file is zero-length file and .aria2 file exists, it will not be deleted on successful verification, because .aria2 file is not loaded. | ||||
| * | FTP PASV: fixed IPv6 support. | Tatsuhiro Tsujikawa | 2011-12-10 | 1 | -3/+4 |
| | | | | | | If fake FTP URI cannot be parsed (this should not happen), throw exception. | ||||
| * | Check totalLength of file is less than std::numeric_limits<off_t>::max() | Tatsuhiro Tsujikawa | 2011-12-09 | 1 | -3/+2 |
| | | | | | | If totalLength is larger than std::numeric_limits<off_t>::max(), throw DownloadFailureException. | ||||
| * | Use int instead of unsigned int where unsigned int is not needed. | Tatsuhiro Tsujikawa | 2011-12-09 | 1 | -14/+14 |
| | | |||||
| * | Replaced uint64_t with off_t or int64_t. | Tatsuhiro Tsujikawa | 2011-12-09 | 1 | -2/+2 |
| | | | | | | Since off_t is int64_t with LFS, we cannot take advantage of extra capacity of uint64_t. | ||||
| * | FTP pasv: Use request host when connecting server with http proxy. | Tatsuhiro Tsujikawa | 2011-12-09 | 1 | -1/+1 |
| | | |||||
| * | Use %lld to fomat a2_gid_t | Tatsuhiro Tsujikawa | 2011-12-02 | 1 | -1/+1 |
| | | |||||
| * | Support IPv6 address for FTP via HTTP tunneling. | Tatsuhiro Tsujikawa | 2011-11-14 | 1 | -18/+19 |
| | | | | | | | | We use control connection address as data connection address, so we don't need to store both address and port. We just store port in PASV/EPSV response and use SocketCore::getPeerInfo() to get peer's address when needed. | ||||
| * | Use fmt instead of util::itos | Tatsuhiro Tsujikawa | 2011-11-13 | 1 | -2/+1 |
| | | |||||
| * | Use fmt instead of using snprintf directly | Tatsuhiro Tsujikawa | 2011-11-12 | 1 | -4/+2 |
| | | |||||
| * | Removed strconcat | Tatsuhiro Tsujikawa | 2011-11-12 | 1 | -2/+5 |
| | | |||||
| * | Rewritten util::split and added its iterator version. | Tatsuhiro Tsujikawa | 2011-11-04 | 1 | -2/+2 |
| | | | | | | Iterator based functions util::startsWith, util::endsWith, util::streq, util::strieq were added. | ||||
| * | util::percentDecode now takes iterators as arguments. | Tatsuhiro Tsujikawa | 2011-11-03 | 1 | -1/+2 |
| | | |||||
| * | Removed utf8ToNative from log message and exception message. | Tatsuhiro Tsujikawa | 2011-08-08 | 1 | -2/+2 |
| | | |||||
| * | In MinGW32, open file with UNICODE filename and print them in ANSI. | Tatsuhiro Tsujikawa | 2011-08-04 | 1 | -4/+5 |
| | | |||||
| * | Use IP address of data connection to connect to the remote server in | Tatsuhiro Tsujikawa | 2011-01-20 | 1 | -2/+4 |
| | | | | | passive mode. | ||||
| * | Eliminated SocketCore::peekData() form HTTP/FTP downloads. | Tatsuhiro Tsujikawa | 2011-01-16 | 1 | -1/+4 |
| | | | | | | | | | | | We introduced SocketRecvBuffer which buffers received bytes. Since HTTP response header and response body are divided with \r\n, we have to buffer up several bytes to find this delimiter. We use SocketRecvBuffer to hold these bytes and only consumes header and passes SocketRecvBuffer, which may contain head of response body, to next Command. Since FTPConnection doesn't use SocketCore::peekData(), we left it as is. | ||||
| * | Removed DownloadContext::dir_. Use PREF_DIR value instead. | Tatsuhiro Tsujikawa | 2010-12-03 | 1 | -1/+1 |
| | | |||||
| * | Added more error code values. | Tatsuhiro Tsujikawa | 2010-12-01 | 1 | -13/+24 |
| | | | | | | I have not set error code for all exception invocation. In this change, I set error code where error likely occurs. | ||||
| * | Added additional error_code::Values(9 through 14). | Tatsuhiro Tsujikawa | 2010-11-28 | 1 | -2/+3 |
| | | |||||
| * | Renamed DownloadErrorCode.h as error_code.h. Renamed | Tatsuhiro Tsujikawa | 2010-11-28 | 1 | -3/+3 |
| | | | | | downloaderrorcode::Value as error_code::Value. | ||||
| * | 2010-11-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net> | Tatsuhiro Tsujikawa | 2010-11-20 | 1 | -10/+10 |
| | | | | | | | | | Use format specifier %lld for cuid_t. Defined cuid_t as long long int instead of int64_t, since g++ complains int64_t is not suitable for %lld. | ||||
