Commit Graph

5274 Commits (faa6955c8d7bb7b6541e0b7fbb84f7d213f761ab)

Author SHA1 Message Date
Tatsuhiro Tsujikawa faa6955c8d Add GitHub Actions workflow build 2020-12-28 12:05:07 +09:00
Tatsuhiro Tsujikawa f292bbba85 Merge branch 'ncopa-fix-time64' into master 2020-12-28 10:12:18 +09:00
Natanael Copa 2d0171e956 Fix segfault when time_t is 64bit on 32bit arch (#1666)
On some platforms, like with musl libc, time_t may be 64 bit even on
32bit platforms. Fix segfault by convert time_t to 64 bit and use 64bit
format modifier instead of assume time_t is %ld
2020-12-28 10:11:57 +09:00
Tatsuhiro Tsujikawa 15cad965eb
Merge pull request #1644 from aliemjay/sync-caches
prevent corrupt downloads after app and/or system crash
2020-06-25 11:42:25 +09:00
Ali MJ Al-Nasrawy 01969fc530 flush OS write buffers before saving control file
This ensures that pieces are physically written to disk before
marking them as finished in the control file.

This should prevent data loss and corruption when resuming downloads
after a system crash.

Signed-off-by: Ali MJ Al-Nasrawy <alimjalnasrawy@gmail.com>
2020-06-17 11:07:03 +03:00
Ali MJ Al-Nasrawy 870e2a6014 flush internal buffers before auto-saving control file
Otherwise, some pieces may be marked as finished in the control file
though they have not yet been written to the storage file.

This should prevent data loss and corruption when resuming downloads
after an app crash.

Signed-off-by: Ali MJ Al-Nasrawy <alimjalnasrawy@gmail.com>
2020-06-17 11:05:30 +03:00
Tatsuhiro Tsujikawa 9d0a48ac81
Merge pull request #1487 from aria2/reset-download-upload-length
Reset sessionDownloadLength and sessionUploadLength on download start
2019-10-12 11:46:35 +09:00
Tatsuhiro Tsujikawa 902f86f574
Merge pull request #1477 from ITriskTI/patch-1
Update aria2c.rst
2019-10-12 10:37:11 +09:00
Tatsuhiro Tsujikawa 6ebdddb9f1 Reset sessionDownloadLength and sessionUploadLength on download start
This commit resets sessionDownloadLength and sessionUploadLength when
a download restarted (including unpause RPC method).

Fixes #1486
2019-10-12 10:30:18 +09:00
ITriskTI 3e0134fef9 Update aria2c.rst 2019-10-06 17:34:06 +03:00
Nils Maier 53b3169a22 AppleTLS: even more correctly define kTLSProtocol13
Yes, again
2019-10-06 13:36:08 +02:00
Nils Maier a184ceb9e2 AppleTLS: correctly define kTLSProtocol13 2019-10-06 13:22:25 +02:00
Nils Maier 1677aba1b2 Update macOS dependencies 2019-10-06 12:13:59 +02:00
Nils Maier 40e01dbb4c AppleTLS: update cipher suites 2019-10-06 12:13:59 +02:00
Nils Maier a6671aec37 AppleTLS: TLSv3 2019-10-06 12:13:59 +02:00
Tatsuhiro Tsujikawa 6b36224453 Fix make dist 2019-10-06 10:48:48 +09:00
Tatsuhiro Tsujikawa 7f79854b2e Fix makerelease 2019-10-06 10:16:42 +09:00
Tatsuhiro Tsujikawa 708e2637e8 Bump up version number to 1.35.0 2019-10-06 09:59:59 +09:00
Tatsuhiro Tsujikawa b468c08a94 Update NEWS 2019-10-06 09:59:16 +09:00
Tatsuhiro Tsujikawa a93fc6aff1 Update bash_completion 2019-10-06 09:44:20 +09:00
Tatsuhiro Tsujikawa c0a6622bdb Update AUTHORS 2019-10-06 09:37:18 +09:00
Tatsuhiro Tsujikawa 4a645d9dcf Bump copyright year in --version 2019-09-21 17:47:05 +09:00
Tatsuhiro Tsujikawa 0cb248434f Merge branch 'update-mingw-build-dep' 2019-09-15 18:35:50 +09:00
Tatsuhiro Tsujikawa 286982d2c2 Update mingw build dependencies 2019-09-15 17:48:33 +09:00
Tatsuhiro Tsujikawa 23f3c4d8eb Merge branch 'update-android-build-dep' 2019-09-15 16:40:32 +09:00
Tatsuhiro Tsujikawa 80df934955 Fix compiler warning 2019-09-15 11:26:48 +09:00
Tatsuhiro Tsujikawa 9f5758570a Update android build dependencies
Update android build dependencies.  Use android NDK r20 and build
aarch64 binary.
2019-09-15 11:15:29 +09:00
Tatsuhiro Tsujikawa 7f6578aa7d clang-format-8 2019-06-22 17:18:01 +09:00
Tatsuhiro Tsujikawa 0abde36583
Merge pull request #1213 from Chaneybenjamini/libressl-pr
Fix build with Libressl version 2.7.x
2019-05-19 14:58:31 +09:00
Tatsuhiro Tsujikawa ecba2625da Merge branch 'modernize-tls' 2019-04-08 15:02:33 +09:00
Tatsuhiro Tsujikawa 52da4e40ea Drop SSLv3.0 and TLSv1.0 and add TLSv1.3
TLSv1.3 support is added for GNUTLS and OpenSSL.
2019-04-07 16:18:32 +09:00
Tatsuhiro Tsujikawa 4af4a7cfc3 clang-format-7 2019-04-07 12:49:10 +09:00
Tatsuhiro Tsujikawa eb7a15513a
Merge pull request #1315 from neheb/patch-1
Platform: Fix compilation without deprecated OpenSSL APIs
2019-04-07 12:39:12 +09:00
Rosen Penev 0e31e37c0f Platform: Fix compilation without deprecated OpenSSL APIs 2019-01-22 00:47:29 -08:00
Tatsuhiro Tsujikawa 37368130ca Mask headers 2019-01-05 09:32:40 +09:00
Tatsuhiro Tsujikawa 879e4a89b6 FileEntry: Use implicitly-declared copy constructor 2018-12-02 17:03:03 +09:00
Tatsuhiro Tsujikawa 6fb0fe2196
Merge pull request #1306 from aria2/remove-linux-getrandom
Remove linux getrandom and use C++ stdlib instead
2018-11-26 00:30:38 +09:00
Tatsuhiro Tsujikawa 03f40af361 Remove linux getrandom and use C++ stdlib instead 2018-11-25 22:51:57 +09:00
Tatsuhiro Tsujikawa 6c30b13a91
Merge pull request #1300 from aria2/accept-metalink
Don't send Accept Metalink header if Metalink is disabled
2018-11-18 21:38:06 +09:00
Tatsuhiro Tsujikawa c6b7cca5fe Don't send Accept Metalink header if Metalink is disabled 2018-11-18 19:02:13 +09:00
Tatsuhiro Tsujikawa 34fc557944
Merge pull request #1277 from ITriskTI/patch-1
Update aria2c.rst
2018-11-01 00:36:36 +09:00
ITriskTI 71a98203a0 Update aria2c.rst 2018-10-14 20:59:31 +03:00
Tatsuhiro Tsujikawa 7e5757c238 Update doc 2018-10-13 20:56:59 +09:00
Tatsuhiro Tsujikawa 8e5dbad079
Merge pull request #1259 from eric1932/patch-1
Update README.rst
2018-09-13 18:41:44 +09:00
eric1932 7a58936e06
Update README.rst 2018-09-12 13:59:10 -05:00
Tatsuhiro Tsujikawa 475e6c5997 Fix "UDP" typo
Patch from Sergey Matveev
2018-06-18 23:52:25 +09:00
Tatsuhiro Tsujikawa e0a827ff98 Enable IndentPPDirectives 2018-06-09 16:23:36 +09:00
Tatsuhiro Tsujikawa 6f40026944 Update .clang-format 2018-06-09 16:22:30 +09:00
Tatsuhiro Tsujikawa 67d07534ea clang-format-6.0 2018-06-09 16:03:29 +09:00
Tatsuhiro Tsujikawa eb30bb1a52
Merge pull request #1214 from aria2/fix-gnutls-empty-cn-bug
gnutls: Fix bug that commonName is always empty
2018-06-05 22:14:49 +09:00