Commit Graph

5250 Commits (23f3c4d8eba9b4a8acee30f7a7c4f2c5b919bc7b)

Author SHA1 Message Date
Tatsuhiro Tsujikawa d974c935cd WinTLS: Rewrite writeData
We re-wrote WinTLSSession::writeData.  The major points are:

* Buffer is now preallocated once handshake is finished.  Previously,
  they are allocated each time when we send one TLS record.

* Schannel uses header, body and trailer for each secBuffer.  Now we
  send them off at once using WSASend which is windows counterpart of
  sendv.  Previously, we do memmove if some of them are truncated.

* We don't try to send application data in
  WinTLSSession::closeConnection, since semantically we need same
  application data used to create TLS record before.  Using 0 length
  data to finish sending buffered data looks like a hack.
2016-11-12 22:20:41 +09:00
Tatsuhiro Tsujikawa d289dc1108 WinTLS: Fix busy loop on write error 2016-11-09 23:08:25 +09:00
Tatsuhiro Tsujikawa b4010a52c8 Merge pull request #766 from aria2/support-1xx
Support 1xx non-final response
2016-11-03 17:28:45 +09:00
Tatsuhiro Tsujikawa 2df30b1447 Support 1xx non-final response 2016-11-03 16:29:04 +09:00
Tatsuhiro Tsujikawa a9a60cef1b Merge pull request #765 from aria2/update-wslay
Update wslay
2016-11-02 23:33:49 +09:00
Tatsuhiro Tsujikawa fb380d4016 Update wslay 2016-11-02 22:41:36 +09:00
Tatsuhiro Tsujikawa 90452ae11b Don't download piece which is filtered out (e.g., --select-file)
This commit fixes the bug that piece which is not requested by
--select-file is downloaded in multi-file WebSeeding.
2016-10-26 22:40:00 +09:00
Tatsuhiro Tsujikawa 938481bfe9 Update NEWS 2016-10-16 17:27:36 +09:00
Tatsuhiro Tsujikawa a41cc63779 mingw: Update third-party libraries 2016-10-16 17:20:18 +09:00
Tatsuhiro Tsujikawa 9cdfd4bb8a android: Update third-party libraries 2016-10-16 17:11:28 +09:00
Tatsuhiro Tsujikawa 3740a2aef8 Update bash_completion 2016-10-16 17:06:03 +09:00
Tatsuhiro Tsujikawa f58081a6f6 Bump up version number to 1.28.0 2016-10-16 17:01:35 +09:00
Tatsuhiro Tsujikawa 57843a0732 Update AUTHORS 2016-10-16 17:00:55 +09:00
Tatsuhiro Tsujikawa df19921b83 Merge branch 'clang-format-3.9' 2016-10-15 19:07:24 +09:00
Tatsuhiro Tsujikawa aa4ea8889c clang-format-3.9 2016-10-15 19:02:54 +09:00
Tatsuhiro Tsujikawa a7fcf83bdf Update .clang-format to clang-format-3.9 2016-10-15 19:02:42 +09:00
Tatsuhiro Tsujikawa 54e465194b Merge pull request #750 from ITriskTI/patch-1
Update aria2c.rst
2016-09-29 22:53:49 +09:00
ITriskTI 7be69be3b4 Update aria2c.rst 2016-09-29 16:28:18 +03:00
Tatsuhiro Tsujikawa bed7411819 Merge pull request #749 from juanfra684/patch-1
Restore LTLIBINTL in src/Makefile.am
2016-09-29 22:07:17 +09:00
Juan Francisco Cantero Hurtado 206d6fc062 Restore LTLIBINTL in src/Makefile.am 2016-09-29 01:02:06 +02:00
Tatsuhiro Tsujikawa ae78d7f7d0 Enable --keep-unfinished-download-result by default 2016-09-26 22:07:35 +09:00
Tatsuhiro Tsujikawa e31f537ac5 Update copyright year to 2016 2016-09-26 21:56:38 +09:00
Tatsuhiro Tsujikawa 55f311a908 Add --keep-unfinished-download-result option
This option keeps unfinished download results even if doing so exceeds
--max-download-result. This is useful if all unfinished downloads must
be saved in session file (see --save-session option). Please keep in
mind that there is no upper bound to the number of unfinished download
result to keep.  User should use this option only when they know the
total number of downloads in advance.
2016-09-24 11:42:43 +09:00
Tatsuhiro Tsujikawa c3aedf480d Fix -Wexpansion-to-defined warning with clang-3.9
The error message was:

warning: macro expansion producing 'defined' has undefined behavior
[-Wexpansion-to-defined]

http://lists.llvm.org/pipermail/cfe-commits/Week-of-Mon-20160118/147239.html
2016-09-19 22:10:21 +09:00
Tatsuhiro Tsujikawa a31e73d902 Fix bug that file name is not logged with --conditional-get 2016-09-17 17:21:42 +09:00
Tatsuhiro Tsujikawa 561d49d6e5 Bump up version number to 1.27.1 2016-09-17 09:10:08 +09:00
Tatsuhiro Tsujikawa 812136dd8b Update NEWS 2016-09-17 09:09:13 +09:00
Tatsuhiro Tsujikawa cfaec39be1 Add missing libssl_compat.h to SRCS 2016-09-17 09:05:52 +09:00
Tatsuhiro Tsujikawa 16797b5264 clang-format 2016-09-16 21:52:58 +09:00
Tatsuhiro Tsujikawa cf96bec654 Update sqlite3 for mingw build 2016-09-16 21:26:57 +09:00
Tatsuhiro Tsujikawa f6043488e4 Update AUTHORS 2016-09-16 21:19:52 +09:00
Tatsuhiro Tsujikawa 0a00e84cc7 Bump up version number to 1.27.0 2016-09-16 21:17:58 +09:00
Tatsuhiro Tsujikawa 2cd90f02de Update NEWS 2016-09-16 21:17:44 +09:00
Nils Maier 356c3dc164 Hard-disable openssl in osx build
Closes #739
2016-09-06 16:01:58 +02:00
Tatsuhiro Tsujikawa 8cdcb71308 Fix possible cause of crash after metadata download 2016-09-05 22:44:40 +09:00
Tatsuhiro Tsujikawa 3af50e5140 Fix log message 2016-09-05 21:04:30 +09:00
Tatsuhiro Tsujikawa c1ad559256 Merge branch 'fornwall-master' 2016-09-04 19:18:38 +09:00
Fredrik Fornwall 5ca9cb6959 Remove custom ftruncate64 for Android
The latest NDK versions support ftruncate64, so building a local
copy of ftruncate64 is no longer needed.

Also, the arm and x86 builds of ftruncate64 failed when targetting
API level 21 or higher, as they include <linux/err.h> which are
not present starting from API level 21.
2016-09-03 23:14:18 +02:00
Tatsuhiro Tsujikawa d73dd9c372 Fix typo found by Debian's Lintian 2016-09-03 22:46:10 +09:00
Tatsuhiro Tsujikawa 02b1d68815 Merge pull request #735 from ITriskTI/patch-2
Update aria2c.rst
2016-08-31 23:26:13 +09:00
ITriskTI 88d5a2a32d Update aria2c.rst 2016-08-30 18:48:42 +03:00
Tatsuhiro Tsujikawa 3d97ed05f6 Merge branch 'tobbez-fix-comment' 2016-08-30 22:00:09 +09:00
Tatsuhiro Tsujikawa 834025183f Merge branch 'fix-comment' of https://github.com/tobbez/aria2 into tobbez-fix-comment 2016-08-30 21:30:39 +09:00
Nils Maier 414dd14dec Add --save-not-found option 2016-08-30 14:23:42 +02:00
Nils Maier 852e2db586 Simplify session serializer 2016-08-30 14:22:39 +02:00
Tatsuhiro Tsujikawa 5ea3bcc349 Add xcode7 build to make sure that we are not affected by std::make_shared bug 2016-08-30 21:14:40 +09:00
Tatsuhiro Tsujikawa e4fd51195d Remove unused file 2016-08-30 21:09:52 +09:00
Torbjörn Lönnemark e86bcd3d24 Update comment to match code 2016-08-30 10:55:27 +02:00
Nils Maier 366e2e8f79 Use default where possible 2016-08-29 16:52:20 +02:00
Nils Maier 08f4b5e4f4 WinTLS: Better errors (from WSA) 2016-08-29 16:51:18 +02:00