| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Allow subsecond value in ns cookie.txt file's expiry time field | Tatsuhiro Tsujikawa | 2016-05-15 | 1 | -0/+4 |
| | | |||||
| * | mingw: Defer the falloc warning until falloc is specified by option | Tatsuhiro Tsujikawa | 2016-04-18 | 1 | -0/+4 |
| | | |||||
| * | Don't inherit file descriptor to child process | Tatsuhiro Tsujikawa | 2016-02-08 | 1 | -0/+5 |
| | | | | | | | For non-Mingw32 build, set FD_CLOEXEC to file descriptors which live beyond function scope. For Mingw32 build, just pass false to bInheritHandles parameter of CreateProcessW. | ||||
| * | mingw: Add formatLastError as wrapper function for FormatMessage | Tatsuhiro Tsujikawa | 2016-01-28 | 1 | -0/+7 |
| | | |||||
| * | Refactor HttpRequest | Tatsuhiro Tsujikawa | 2016-01-10 | 1 | -0/+1 |
| | | | | | | This also makes comparison performed when replacing builtin header field with user-defined one case-insensitive. | ||||
| * | Refactor SocketCore::getPeerInfo, getAddrInfo to return Endpoint object | Tatsuhiro Tsujikawa | 2016-01-09 | 1 | -2/+1 |
| | | |||||
| * | make clang-format using clang-format-3.6 | Tatsuhiro Tsujikawa | 2015-12-27 | 1 | -233/+198 |
| | | |||||
| * | Remove unused macros defined in util.h | Tatsuhiro Tsujikawa | 2015-06-21 | 1 | -8/+0 |
| | | |||||
| * | Use std::make_shared | Tatsuhiro Tsujikawa | 2015-06-11 | 1 | -1/+1 |
| | | |||||
| * | Make config and cache files conform to XDG | Vasilij Schneidermann | 2015-06-02 | 1 | -0/+7 |
| | | | | | | | | See http://standards.freedesktop.org/basedir-spec/latest/ for further details. This implementation decides the default based on whether a file exists at the legacy location, if it doesn't, it picks the XDG-conforming location instead. | ||||
| * | Mingw: Use _wgetenv to get user's home directory | Tatsuhiro Tsujikawa | 2015-02-21 | 1 | -0/+3 |
| | | | | | Fixes GH-342 | ||||
| * | Fix compile error without SSL/TLS enabled | Tatsuhiro Tsujikawa | 2015-02-01 | 1 | -0/+2 |
| | | |||||
| * | Add --min-tls-version option | Tatsuhiro Tsujikawa | 2014-12-06 | 1 | -0/+6 |
| | | | | | | The --min-tls-version option specifies minimum SSL/TLS version to enable. Possible Values: SSLv3, TLSv1, TLSv1.1, TLSv1.2 Default: TLSv1 | ||||
| * | util::parseIntSegments: Return SegList<int> | Tatsuhiro Tsujikawa | 2014-06-04 | 1 | -1/+1 |
| | | |||||
| * | Support PREF_DIR change for Metalink files | Tatsuhiro Tsujikawa | 2014-06-04 | 1 | -0/+2 |
| | | | | | | Reworked previous commit adeead6f0396e2f8551d1182972e277728fd6c8b, and now support changing PREF_DIR for Metalink downloads. | ||||
| * | Internally use HMAC in http auth | Nils Maier | 2014-05-22 | 1 | -5/+11 |
| | | | | | | | To at least get constant time compare. Also fix incorrect parsing of the creds (were incorrectly stripped). Also add unit tests. | ||||
| * | Remove nativeToUtf8 and utf8ToNative | Tatsuhiro Tsujikawa | 2013-11-01 | 1 | -4/+0 |
| | | | | | | They are now not needed since we use Windows specific command-line argument converter. | ||||
| * | Include prefs.h instead of typedef PrefPtr everywhere | Tatsuhiro Tsujikawa | 2013-09-26 | 1 | -2/+1 |
| | | |||||
| * | Introduce PrefPtr typedef | Nils Maier | 2013-09-19 | 1 | -2/+3 |
| | | |||||
| * | Fix util::nextParam when compiled with recent Apple clang | Nils Maier | 2013-08-20 | 1 | -2/+2 |
| | | |||||
| * | Define a type for signal handlers | Nils Maier | 2013-08-18 | 1 | -2/+3 |
| | | |||||
| * | Rewrite util::divide | Tatsuhiro Tsujikawa | 2013-06-25 | 1 | -11/+6 |
| | | |||||
| * | toUpper, toLower: Let compiler copy src | Tatsuhiro Tsujikawa | 2013-06-24 | 1 | -2/+2 |
| | | |||||
| * | Require -std=c++11 and use std::shared_ptr instead of SharedHandle | Tatsuhiro Tsujikawa | 2013-06-22 | 1 | -6/+6 |
| | | |||||
| * | uitos: Fix off-by-one error bug | Tatsuhiro Tsujikawa | 2013-04-29 | 1 | -1/+1 |
| | | |||||
| * | Set sa_mask when setting signal handler | Tatsuhiro Tsujikawa | 2013-02-14 | 1 | -1/+6 |
| | | |||||
| * | Rewritten util::uitos() | Tatsuhiro Tsujikawa | 2013-01-16 | 1 | -16/+19 |
| | | |||||
| * | Made return type of util::parse_content_disposition ssize_t | Tatsuhiro Tsujikawa | 2012-11-01 | 1 | -3/+3 |
| | | |||||
| * | Content-Disposition parser conforming to RFC 6266. | Tatsuhiro Tsujikawa | 2012-10-27 | 1 | -1/+30 |
| | | | | | RFC 2231 Continuation is not supported. | ||||
| * | Removed unused functions | Tatsuhiro Tsujikawa | 2012-09-27 | 1 | -16/+0 |
| | | |||||
| * | Use nothrow version of parseInt, parseUInt and parseLLInt | Tatsuhiro Tsujikawa | 2012-09-27 | 1 | -3/+0 |
| | | |||||
| * | Made DEFAULT_STRIP_CHARSET const char[] | Tatsuhiro Tsujikawa | 2012-09-24 | 1 | -13/+9 |
| | | |||||
| * | Store only interesting HTTP headers in HttpHeader | Tatsuhiro Tsujikawa | 2012-09-23 | 1 | -0/+3 |
| | | | | | | | 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. | ||||
| * | 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 | -1/+1 |
| | | | | | | Some classes such as DiskAdaptor, DiskWriter, FileAllocationIterator and ChecksumValidator are left unchanged. | ||||
| * | Rewritten HTTP header parser | Tatsuhiro Tsujikawa | 2012-06-23 | 1 | -0/+4 |
| | | |||||
| * | Don't use locale dependent toupper and tolower. | Tatsuhiro Tsujikawa | 2012-03-31 | 1 | -0/+4 |
| | | |||||
| * | Rewritten TLS hostname check based on RFC 6125. | Tatsuhiro Tsujikawa | 2012-03-30 | 1 | -16/+1 |
| | | |||||
| * | Added hostname check described in RFC 2818 with OpenSSL. | Tatsuhiro Tsujikawa | 2012-03-28 | 1 | -0/+18 |
| | | |||||
| * | Fixed clang warning and errors. | Tatsuhiro Tsujikawa | 2012-03-01 | 1 | -47/+47 |
| | | | | | | | Test for the zero-length array with A2_ARRAY_LEN was commented out since it is only used in unit test code and clang and old gcc 3.4.3 emit error. | ||||
| * | Check scheme part in redirected URI more strictly. | Tatsuhiro Tsujikawa | 2012-02-15 | 1 | -0/+2 |
| | | | | | | | | The previous implementation mistakenly sees '/abspath?uri=http://foo' as an absolute URI because it contains '://', but actually it is not. This change checks scheme part is constructed in the allowed character set described in RFC 3986 Section 3.1. | ||||
| * | Avoid strlen in util::streq, util::strieq, util::startsWith and ↵ | Tatsuhiro Tsujikawa | 2012-01-11 | 1 | -4/+26 |
| | | | | | util::istartsWith | ||||
| * | Use short form of util::startsWith and util::endsWith | Tatsuhiro Tsujikawa | 2012-01-11 | 1 | -0/+1 |
| | | |||||
| * | Removed static const char[] as much as possible. | Tatsuhiro Tsujikawa | 2012-01-11 | 1 | -7/+41 |
| | | | | | | Provided convenient functions for streq, strieq, startsWith, istartsWith, endsWith, iendsWith to support this move. | ||||
| * | Fixed compile error on android (which does not LFS support) | Tatsuhiro Tsujikawa | 2011-12-26 | 1 | -1/+1 |
| | | |||||
| * | Use int instead of unsigned int where unsigned int is not needed. | Tatsuhiro Tsujikawa | 2011-12-09 | 1 | -1/+1 |
| | | |||||
| * | Replaced uint64_t with off_t or int64_t. | Tatsuhiro Tsujikawa | 2011-12-09 | 1 | -5/+1 |
| | | | | | | Since off_t is int64_t with LFS, we cannot take advantage of extra capacity of uint64_t. | ||||
| * | Don't append character to std::string. | Tatsuhiro Tsujikawa | 2011-11-12 | 1 | -1/+1 |
| | | |||||
| * | Rewritten parse*Int | Tatsuhiro Tsujikawa | 2011-11-12 | 1 | -165/+10 |
| | | |||||
| * | HttpHeader::fill() now stores header name in lowercase. | Tatsuhiro Tsujikawa | 2011-11-11 | 1 | -0/+10 |
| | | | | | | Find methods in HttpHeader won't lowercase argument, so use lowercase letters to get HTTP header field. | ||||
