| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | make clang-format using clang-format-3.6 | Tatsuhiro Tsujikawa | 2015-12-27 | 1 | -58/+47 |
| | | |||||
| * | Rewrite Time with chrono | Tatsuhiro Tsujikawa | 2015-06-09 | 1 | -1/+1 |
| | | |||||
| * | Revert to existing "proper" coding style | Tatsuhiro Tsujikawa | 2014-06-03 | 1 | -10/+10 |
| | | | | | | The rule is simple: don't try to change the coding style of the existing codebase. | ||||
| * | Use index.html as filename for conditional-get when file is missing in URI | Tatsuhiro Tsujikawa | 2014-05-08 | 1 | -1/+1 |
| | | | | | | | | | Previously we disabled conditional-get if file part is missing in URI. But we use constant string "index.html" in this case, so we can do the same to determine the modification time. In this patch, if we have file part in URI, we are not going to set absolute file path in FileEntry, since it prevents content-disposition from working. | ||||
| * | Remove ENABLE_MESSAGE_DIGEST, since we got the internal md, always | Nils Maier | 2014-04-17 | 1 | -4/+0 |
| | | |||||
| * | Treat 30X response without Location header field as error | Tatsuhiro Tsujikawa | 2014-02-05 | 1 | -0/+4 |
| | | | | | This is required to make segmented download work. | ||||
| * | Better handling of 30X HTTP status codes | Tatsuhiro Tsujikawa | 2014-02-05 | 1 | -27/+31 |
| | | | | | Reference: http://greenbytes.de/tech/tc/httpredirects/ | ||||
| * | Fix typo | Tatsuhiro Tsujikawa | 2013-11-06 | 1 | -1/+1 |
| | | |||||
| * | Code cleanup in Http* | Nils Maier | 2013-09-20 | 1 | -115/+130 |
| | | |||||
| * | Convert to autos and ranged loops | Nils Maier | 2013-08-21 | 1 | -19/+13 |
| | | |||||
| * | Return nullptr directly where std::unique_ptr is expected | Tatsuhiro Tsujikawa | 2013-07-04 | 1 | -2/+2 |
| | | | | | | The constructor of std::unique_ptr which takes nullptr is not explicit so we can return nullptr directly. | ||||
| * | Use std::unique_ptr for StreamFilter instead of std::shared_ptr | Tatsuhiro Tsujikawa | 2013-07-04 | 1 | -8/+8 |
| | | |||||
| * | Use std::unique_ptr for HttpRequest instead of std::shared_ptr | Tatsuhiro Tsujikawa | 2013-07-04 | 1 | -5/+3 |
| | | |||||
| * | Refactor HttpConnection and its neighbor objects | Tatsuhiro Tsujikawa | 2013-06-26 | 1 | -2/+7 |
| | | |||||
| * | Require -std=c++11 and use std::shared_ptr instead of SharedHandle | Tatsuhiro Tsujikawa | 2013-06-22 | 1 | -7/+7 |
| | | |||||
| * | Dont' return SharedHandle from HttpHeader::getRange() | Tatsuhiro Tsujikawa | 2012-09-30 | 1 | -6/+6 |
| | | |||||
| * | Removed *Handle typedef | Tatsuhiro Tsujikawa | 2012-09-28 | 1 | -1/+1 |
| | | |||||
| * | Removed HttpHeader::findAs{LL}Int and unused HttpResponse::{has,get}RetryAfter | Tatsuhiro Tsujikawa | 2012-09-26 | 1 | -10/+0 |
| | | |||||
| * | Removed static std::string constant in HttpHeader | Tatsuhiro Tsujikawa | 2012-09-23 | 1 | -22/+4 |
| | | | | | | This change also removes inspection of Proxy-Connection header field when checking whether the remote endpoint keeps connection open. | ||||
| * | Store only interesting HTTP headers in HttpHeader | Tatsuhiro Tsujikawa | 2012-09-23 | 1 | -7/+6 |
| | | | | | | | In this change, we defined HTTP header fields we are interested in. We only store those headers in HttpHeader object. Accessing HTTP headers in HttpHeader object is now done through enum values. | ||||
| * | Removed static_cast<int64>()s where they are unnecessary | Tatsuhiro Tsujikawa | 2012-06-25 | 1 | -6/+6 |
| | | |||||
| * | 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. | ||||
| * | Use PRId64 for int64_t format specifier | Tatsuhiro Tsujikawa | 2012-06-25 | 1 | -7/+7 |
| | | |||||
| * | Replaced uint64_t with off_t or int64_t. | Tatsuhiro Tsujikawa | 2011-12-09 | 1 | -3/+3 |
| | | | | | | Since off_t is int64_t with LFS, we cannot take advantage of extra capacity of uint64_t. | ||||
| * | Use fmt instead of util::itos | Tatsuhiro Tsujikawa | 2011-11-13 | 1 | -6/+6 |
| | | |||||
| * | Rewritten parse*Int | Tatsuhiro Tsujikawa | 2011-11-12 | 1 | -1/+1 |
| | | |||||
| * | HttpHeader::fill() now stores header name in lowercase. | Tatsuhiro Tsujikawa | 2011-11-11 | 1 | -18/+27 |
| | | | | | | Find methods in HttpHeader won't lowercase argument, so use lowercase letters to get HTTP header field. | ||||
| * | Rewritten base64::decode and base64::encode | Tatsuhiro Tsujikawa | 2011-11-05 | 1 | -1/+1 |
| | | |||||
| * | mv Base64.{cc,h} base64.{cc,h} | Tatsuhiro Tsujikawa | 2011-11-05 | 1 | -1/+1 |
| | | |||||
| * | Rewritten util::split and added its iterator version. | Tatsuhiro Tsujikawa | 2011-11-04 | 1 | -2/+6 |
| | | | | | | Iterator based functions util::startsWith, util::endsWith, util::streq, util::strieq were added. | ||||
| * | util::divide now takes iterators as arguments. | Tatsuhiro Tsujikawa | 2011-11-03 | 1 | -3/+4 |
| | | |||||
| * | util::percentDecode now takes iterators as arguments. | Tatsuhiro Tsujikawa | 2011-11-03 | 1 | -1/+3 |
| | | |||||
| * | Changed parse*Int functions so that it accepts iterators. | Tatsuhiro Tsujikawa | 2011-11-03 | 1 | -1/+1 |
| | | |||||
| * | Rewritten util::stripIter(), which now returns pair of iterator. | Tatsuhiro Tsujikawa | 2011-11-03 | 1 | -3/+4 |
| | | |||||
| * | Stored hash value as raw byte string, instead of hex digest. | Tatsuhiro Tsujikawa | 2011-10-13 | 1 | -3/+4 |
| | | |||||
| * | Removed redundant MessageDigest::supports() call. | Tatsuhiro Tsujikawa | 2011-08-23 | 1 | -3/+0 |
| | | | | | | MessageDigest::supports() will be called from MessageDigest::isValidHash() later in the function. | ||||
| * | Percent-encode non-printable ASCII and non-ASCII chars in FileEntry. | Tatsuhiro Tsujikawa | 2011-08-07 | 1 | -1/+2 |
| | | | | | | | | Percent-encode non-printable ASCII and non-ASCII chars in URI using util::percentEncodeMini() when URI is added to FileEntry. Removed percent-encode from Request. Also do percent-encoding when setting referer and redirected URI. | ||||
| * | Made getRedirectURI and getTransferEncoding return const reference. | Tatsuhiro Tsujikawa | 2011-08-07 | 1 | -2/+2 |
| | | | | | | Made getRedirectURI and getTransferEncoding in HttpResponse return const reference. | ||||
| * | Consistent naming scheme for hash type and digest. | Tatsuhiro Tsujikawa | 2011-07-27 | 1 | -2/+2 |
| | | |||||
| * | Use HttpHeader::getIterator() instead of HttpHeader::get() | Tatsuhiro Tsujikawa | 2011-07-27 | 1 | -4/+6 |
| | | |||||
| * | HttpResponse::getDigest() now returns all Digest. | Tatsuhiro Tsujikawa | 2011-07-27 | 1 | -13/+26 |
| | | | | | | In addition, HttpResponse::getMetalinkHttpEntries() does not check validity of URI. It is checked when we add it to FileEntry. | ||||
| * | Added Metalink/HTTP Link and Digest header field parser. | Tatsuhiro Tsujikawa | 2011-07-26 | 1 | -0/+139 |
| | | |||||
| * | 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 | -2/+2 |
| | | | | | | | | field is specified using --header option. When --conditional-get is used, --allow-overwrite is now required to overwrite existing file. | ||||
| * | Added more error code values. | Tatsuhiro Tsujikawa | 2010-12-01 | 1 | -3/+7 |
| | | | | | | I have not set error code for all exception invocation. In this change, I set error code where error likely occurs. | ||||
| * | Renamed DownloadErrorCode.h as error_code.h. Renamed | Tatsuhiro Tsujikawa | 2010-11-28 | 1 | -1/+1 |
| | | | | | downloaderrorcode::Value as error_code::Value. | ||||
| * | 2010-11-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net> | Tatsuhiro Tsujikawa | 2010-11-20 | 1 | -4/+4 |
| | | | | | | | | | 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. | ||||
| * | 2010-11-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net> | Tatsuhiro Tsujikawa | 2010-11-20 | 1 | -16/+12 |
| | | | | | | | Replaced StringFormat with fmt | ||||
| * | 2010-11-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net> | Tatsuhiro Tsujikawa | 2010-11-20 | 1 | -10/+9 |
| | | | | | | | | 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 | -20/+17 |
| | | | | | | | | | | | | | | | | | | | | | | | 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 | ||||
