| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Fix bug that file name is not logged with --conditional-get | Tatsuhiro Tsujikawa | 2016-09-17 | 1 | -0/+13 |
| | | |||||
| * | Use default where possible | Nils Maier | 2016-08-29 | 1 | -1/+1 |
| | | |||||
| * | Fix some compiler warnings | Nils Maier | 2016-07-19 | 1 | -1/+1 |
| | | |||||
| * | make clang-format using clang-format-3.6 | Tatsuhiro Tsujikawa | 2015-12-27 | 1 | -87/+82 |
| | | |||||
| * | Remove content-length and content-range if transfer-encoding is given | Tatsuhiro Tsujikawa | 2015-11-04 | 1 | -1/+2 |
| | | | | | See GH-473 | ||||
| * | Replace timer facility with chrono lib | Tatsuhiro Tsujikawa | 2015-06-09 | 1 | -1/+2 |
| | | |||||
| * | Fixed some typos in code comments | Dan Fandrich | 2015-01-16 | 1 | -1/+1 |
| | | |||||
| * | Fixed segfault unsupported encodings | diadistis | 2014-07-20 | 1 | -3/+4 |
| | | |||||
| * | Support PREF_DIR change for Metalink files | Tatsuhiro Tsujikawa | 2014-06-04 | 1 | -2/+5 |
| | | | | | | Reworked previous commit adeead6f0396e2f8551d1182972e277728fd6c8b, and now support changing PREF_DIR for Metalink downloads. | ||||
| * | Revert to existing "proper" coding style | Tatsuhiro Tsujikawa | 2014-06-03 | 1 | -64/+63 |
| | | | | | | The rule is simple: don't try to change the coding style of the existing codebase. | ||||
| * | Remove ENABLE_MESSAGE_DIGEST, since we got the internal md, always | Nils Maier | 2014-04-17 | 1 | -16/+4 |
| | | |||||
| * | Treat 30X response without Location header field as error | Tatsuhiro Tsujikawa | 2014-02-05 | 1 | -5/+4 |
| | | | | | This is required to make segmented download work. | ||||
| * | Better handling of 30X HTTP status codes | Tatsuhiro Tsujikawa | 2014-02-05 | 1 | -4/+5 |
| | | | | | Reference: http://greenbytes.de/tech/tc/httpredirects/ | ||||
| * | Don't fail multiple concurrent dl same file if auto-file-renaming is enabled | Tatsuhiro Tsujikawa | 2013-11-08 | 1 | -6/+2 |
| | | |||||
| * | Fix typo | Tatsuhiro Tsujikawa | 2013-11-06 | 1 | -1/+1 |
| | | |||||
| * | Code cleanup in Http* | Nils Maier | 2013-09-20 | 1 | -198/+212 |
| | | |||||
| * | Convert to autos and ranged loops | Nils Maier | 2013-08-21 | 1 | -13/+11 |
| | | |||||
| * | Use nullptr for std::shared_ptr and unique_ptr default parameter | Tatsuhiro Tsujikawa | 2013-08-19 | 1 | -2/+2 |
| | | |||||
| * | Use std::unique_ptr for CheckIntegrityEntry and FileAllocationEntry | Tatsuhiro Tsujikawa | 2013-07-06 | 1 | -6/+6 |
| | | |||||
| * | Use std::unique_ptr for StreamFilter instead of std::shared_ptr | Tatsuhiro Tsujikawa | 2013-07-04 | 1 | -31/+27 |
| | | |||||
| * | Use std::unique_ptr for HttpRequest instead of std::shared_ptr | Tatsuhiro Tsujikawa | 2013-07-04 | 1 | -1/+0 |
| | | |||||
| * | Use std::unique_ptr for HttpResponse instead of std::shared_ptr | Tatsuhiro Tsujikawa | 2013-07-03 | 1 | -47/+35 |
| | | |||||
| * | Refactor HttpConnection and its neighbor objects | Tatsuhiro Tsujikawa | 2013-06-26 | 1 | -1/+1 |
| | | |||||
| * | Wrap Command object in std::unique_ptr | Tatsuhiro Tsujikawa | 2013-06-23 | 1 | -19/+16 |
| | | |||||
| * | Require -std=c++11 and use std::shared_ptr instead of SharedHandle | Tatsuhiro Tsujikawa | 2013-06-22 | 1 | -34/+34 |
| | | |||||
| * | Use 64 bits random bytes as GID | Tatsuhiro Tsujikawa | 2012-12-16 | 1 | -2/+2 |
| | | | | | | | | | | | 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. | ||||
| * | Use uri_split instead of uri::parse where appropriate | Tatsuhiro Tsujikawa | 2012-10-14 | 1 | -3/+5 |
| | | |||||
| * | Removed trailing spaces | Tatsuhiro Tsujikawa | 2012-10-01 | 1 | -1/+1 |
| | | |||||
| * | Removed *Handle typedef | Tatsuhiro Tsujikawa | 2012-09-28 | 1 | -3/+3 |
| | | |||||
| * | Rewritten DownloadHandlerConstants | Tatsuhiro Tsujikawa | 2012-09-22 | 1 | -3/+3 |
| | | | | | | | | | | | DownloadHandlerConstants was simplified. MIME type handling in Accept header was also reworked. DownloadContext's metalinkServerContacted_ is replaced with acceptMetalink_ and its boolean value is reverted. RequestGroup and HttpRequest now do not hold vector of accepting types. HttpRequest has the flag acceptMetalink_ which will be set by the same value of DownloadContext::accpetMetalink_ and if it is true, Metalink MIME types are added to Accept header field. | ||||
| * | Use int64_t instead of off_t | Tatsuhiro Tsujikawa | 2012-06-25 | 1 | -2/+2 |
| | | | | | | Some classes such as DiskAdaptor, DiskWriter, FileAllocationIterator and ChecksumValidator are left unchanged. | ||||
| * | aria2 now doesn't assume download's completed just because file size matched | Tatsuhiro Tsujikawa | 2012-01-08 | 1 | -13/+39 |
| | | | | | | | | | 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. | ||||
| * | 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. | ||||
| * | Use %lld to fomat a2_gid_t | Tatsuhiro Tsujikawa | 2011-12-02 | 1 | -2/+2 |
| | | |||||
| * | Removed utf8ToNative from log message and exception message. | Tatsuhiro Tsujikawa | 2011-08-08 | 1 | -3/+3 |
| | | |||||
| * | In MinGW32, open file with UNICODE filename and print them in ANSI. | Tatsuhiro Tsujikawa | 2011-08-04 | 1 | -7/+9 |
| | | |||||
| * | Consistent naming scheme for hash type and digest for DownloadContext. | Tatsuhiro Tsujikawa | 2011-07-27 | 1 | -6/+5 |
| | | |||||
| * | Consistent naming scheme for hash type and digest. | Tatsuhiro Tsujikawa | 2011-07-27 | 1 | -6/+6 |
| | | |||||
| * | Implemented Metalink/HTTP in HTTP download. | Tatsuhiro Tsujikawa | 2011-07-27 | 1 | -0/+70 |
| | | | | | | | | | | | Link header fields from first Metalink server is utilized as described in rfc6249. We only set digest from Digest header field to DownloadContext only when PieceStorage is not initialized(in other words, before file size is known). After PieceStorage is initialized, Digest header field is used to check the value is the same in digest in DownloadContext. Current implementation only handles rel=duplicate. | ||||
| * | Remove Metalink content-type after first server response. | Tatsuhiro Tsujikawa | 2011-07-25 | 1 | -0/+1 |
| | | | | | We don't accept Metalink content-type after first server response. | ||||
| * | Replaced HAVE_LIBZ with HAVE_ZLIB | Tatsuhiro Tsujikawa | 2011-02-18 | 1 | -4/+4 |
| | | |||||
| * | Accept HTTP 304 reply as success when If-None-Match request-header | Tatsuhiro Tsujikawa | 2011-01-29 | 1 | -19/+15 |
| | | | | | | | | field is specified using --header option. When --conditional-get is used, --allow-overwrite is now required to overwrite existing file. | ||||
| * | Handle the situation when remote server returns Connection: close | Tatsuhiro Tsujikawa | 2011-01-16 | 1 | -0/+2 |
| | | | | | | | | | after several pipelined requests. We call Request::setMaxPipelinedRequest(1) if Connection: close is received. Also call Request::supportsPersistentConnection(true) and Request::setMaxPipelinedRequest(1) when closing the connection. | ||||
| * | Eliminated SocketCore::peekData() form HTTP/FTP downloads. | Tatsuhiro Tsujikawa | 2011-01-16 | 1 | -2/+6 |
| | | | | | | | | | | | 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 additional error_code::Values(9 through 14). | Tatsuhiro Tsujikawa | 2010-11-28 | 1 | -2/+3 |
| | | |||||
| * | 2010-11-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net> | Tatsuhiro Tsujikawa | 2010-11-20 | 1 | -5/+4 |
| | | | | | | | Replaced StringFormat with fmt | ||||
| * | 2010-11-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net> | Tatsuhiro Tsujikawa | 2010-11-20 | 1 | -13/+14 |
| | | | | | | | | Rewritten Logger interface. Logger now writes source file name and line number in log file. | ||||
| * | 2010-11-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net> | Tatsuhiro Tsujikawa | 2010-11-15 | 1 | -6/+5 |
| | | | | | | | | | | | | | | | | | | | | | | | Replaced HttpHeader::responseStatus_ with HttpHeader::statusCode_. statusCode_ is of type int. * src/AbstractProxyResponseCommand.cc * src/FtpNegotiationCommand.cc * src/HttpHeader.cc * src/HttpHeader.h * src/HttpHeaderProcessor.cc * src/HttpResponse.cc * src/HttpResponse.h * src/HttpResponseCommand.cc * src/HttpSkipResponseCommand.cc * src/util.cc * src/util.h * test/HttpHeaderProcessorTest.cc * test/HttpHeaderTest.cc * test/HttpResponseTest.cc * test/UtilTest.cc | ||||
| * | 2010-11-14 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net> | Tatsuhiro Tsujikawa | 2010-11-14 | 1 | -2/+0 |
| | | | | | | | | | | Added .cc file for classes/structs that only provided by header file. Defined non-POD classes' ctor, dtor in .cc file. Moved implementation code in header file to .cc file for major classes/strucsts. | ||||
