Commit Graph

4661 Commits (31f88ef387e0512e5e6f2c93c8d7094a7811967b)

Author SHA1 Message Date
Nils Maier ee63dff225 Fix getrandom for system with libc not including errno or systems
not supporting ENOSYS in the first place.

Fixes GH-347
2015-03-18 01:46:21 +01:00
Tatsuhiro Tsujikawa 1ad1d43a6a Merge branch 'rasa-patch-1' 2015-03-14 14:35:31 +09:00
Ross Smith II 2fdd0b3f3f Update DOCKER.mingw to bump sqlite to 3.8.8.3 2015-03-13 13:03:29 -07:00
Tatsuhiro Tsujikawa c17b98a9fc Don't send back rpc-secret option value in aria2.getGlobalOption RPC method 2015-03-13 01:09:01 +09:00
Tatsuhiro Tsujikawa 762ab15450 Avoid copy 2015-03-13 00:18:14 +09:00
Tatsuhiro Tsujikawa 650f04586d Make libuv default off
See GH-241 for discussion
2015-03-11 01:54:10 +09:00
Tatsuhiro Tsujikawa cb5ccf6a7a SocketBuffer: Keep sending until blocked
See GH-345
2015-03-08 21:15:12 +09:00
Nils Maier fd6f5ebc32 Fix getrandom interface detection
Fixes GH-346
2015-03-01 09:52:02 +01:00
Tatsuhiro Tsujikawa e8d4af44f4 Update NEWS 2015-02-23 23:37:13 +09:00
Tatsuhiro Tsujikawa 77e93b7710 Bump up version number to 1.18.10 2015-02-23 23:33:15 +09:00
Tatsuhiro Tsujikawa c1879586b7 Add encoding specifier to Russian man page
See GH-341
2015-02-23 23:22:51 +09:00
Tatsuhiro Tsujikawa 649c49dcc6 Mingw: Use _wgetenv to get user's home directory
Fixes GH-342
2015-02-21 01:49:07 +09:00
Nils Maier ba0e32abae Handle linux getrandom returning EINTR on interrupts/signals
Also handle ENOTSUP failures where aria2 was build with linux headers
newer than the actual running kernel.

Fixes GH-336
2015-02-07 17:18:45 +01:00
Tatsuhiro Tsujikawa 9cbbe9f1bb Split UtilTest.cc into UtilTest1.cc and UtilTest2.cc 2015-02-08 00:31:33 +09:00
Tatsuhiro Tsujikawa 9d577b0ad7 Fix adjustAnnounceUri parameter is not passed 2015-02-07 00:39:33 +09:00
Tatsuhiro Tsujikawa 4cf0bb742f Shuffle web-seeding URIs 2015-02-07 00:38:03 +09:00
Tatsuhiro Tsujikawa f910c6f782 android: Build PIE 2015-02-03 01:13:50 +09:00
Tatsuhiro Tsujikawa 3844701085 Add build config for android third party libraries 2015-02-01 23:51:43 +09:00
Tatsuhiro Tsujikawa 5cf3d369cd Update bash_completion 2015-02-01 22:38:16 +09:00
Tatsuhiro Tsujikawa b920051850 Bump up version number to 1.18.9 2015-02-01 22:23:09 +09:00
Tatsuhiro Tsujikawa 4e5433e7aa Update android third party library 2015-02-01 21:46:10 +09:00
Tatsuhiro Tsujikawa 25ecfd86f1 Update mingw third party libraries 2015-02-01 21:38:47 +09:00
Tatsuhiro Tsujikawa e1739c8ee7 Fix compile error without SSL/TLS enabled 2015-02-01 21:32:47 +09:00
Tatsuhiro Tsujikawa feca60fce6 Update NEWS 2015-02-01 19:37:41 +09:00
Nils Maier de37dbf13d Remove some left-over code from converting a test.
Checking once with CPPUNIT_ASSERT_MESSAGE should suffice.
2015-01-26 18:31:19 +01:00
Tatsuhiro Tsujikawa d5d21d20d7 Support HTTP date ending "+0000" as well as "GMT". 2015-01-26 21:31:47 +09:00
Tatsuhiro Tsujikawa b5f22ba216 Use https for git clone link 2015-01-25 11:39:24 +09:00
Nils Maier 81bdd5f61a Revise getRandom facilities
Use one of the following to provide random bytes:
- Windows CryptGenRandom
- Linux getrandom (syscall interface to urandom, without nasty corner
  cases such as file descriptor exhaustion or re-linked /dev/urandom)
- std::device_random (C++ random device, which usually will be urandom)

This also equalizes util::getRandom and SimpleRandomizer (the former
will now use the latter) instead of having essentially two different
PRNG interfaces with potentially different quality.

Closes GH-320
2015-01-20 22:37:24 +01:00
Tatsuhiro Tsujikawa 747131a06c Merge branch 'dfandrich-comments' 2015-01-16 22:21:13 +09:00
Tatsuhiro Tsujikawa bec6461262 Merge branch 'comments' of https://github.com/dfandrich/aria2 into dfandrich-comments 2015-01-16 21:36:22 +09:00
Tatsuhiro Tsujikawa 9d473060ee Merge branch 'dfandrich-master' 2015-01-16 21:34:40 +09:00
Dan Fandrich 0538aa40da Fixed some typos in code comments 2015-01-16 01:17:35 +01:00
Dan Fandrich 8c53e37c21 Added debug log of all Metalink URLs with final priorities 2015-01-16 00:29:17 +01:00
Tatsuhiro Tsujikawa d0c20e158e Fix typo 2015-01-13 23:41:59 +09:00
Tatsuhiro Tsujikawa 06bde9f70c Merge branch 'ITriskTI-patch-3' 2015-01-13 23:39:58 +09:00
Tatsuhiro Tsujikawa 8bbb17561f Merge branch 'patch-3' of https://github.com/ITriskTI/aria2 into ITriskTI-patch-3 2015-01-13 23:39:01 +09:00
Tatsuhiro Tsujikawa 226d28fcd7 Merge branch 'ITriskTI-patch-1' 2015-01-13 23:37:53 +09:00
ITriskTI b8e6ae2a55 Update aria2c.rst 2015-01-13 16:13:44 +03:00
ITriskTI 9c78825fa5 Update aria2c.rst 2015-01-13 16:05:15 +03:00
ITriskTI 1aa4f33333 Fix typo 2015-01-13 16:00:17 +03:00
Tatsuhiro Tsujikawa 7e7b628cc2 Use gcc-4.9 and android-16 API level for android build 2015-01-12 18:55:22 +09:00
Tatsuhiro Tsujikawa 7bbf209a02 Escape \ in rst doc 2015-01-12 17:50:24 +09:00
Tatsuhiro Tsujikawa 9f4e76d1b7 Fix indentation in usage output 2015-01-12 17:49:45 +09:00
Tatsuhiro Tsujikawa c653c72dc8 Add --bt-force-encryption option
This option requires BitTorrent message payload encryption with
arc4. This is a shorthand of --bt-requre-crypto
--bt-min-crypto-level=arc4.  If true is given, deny legacy BitTorrent
handshake and only use Obfuscation handshake and always encrypt
message payload. This option defaults to false.
2015-01-12 17:46:20 +09:00
Tatsuhiro Tsujikawa cc36df2625 Merge branch 'sslwarn' 2015-01-05 18:57:24 +09:00
Nils Maier 590aa21c68 Add backward-compatible libuv defs 2014-12-30 22:36:24 +01:00
Nils Maier 0895008e5c Fix SSLv3 warnings being issued on connection reuse.
And also improve tlsHandshake code a bit in the process, mostly by being
more explicit about error conditions.
2014-12-30 22:36:24 +01:00
Nils Maier e0812d5ad1 Fix another printf related warning 2014-12-29 03:15:50 +01:00
Tatsuhiro Tsujikawa ff2a630efe GNUTLS: Remove ifdef for GNUTLS_TLS* since they are not macros
Since they are not macros, we get always TLS_PROTO_NONE (otherwise you
are using SSLv3 and you will get warning nonetheless) and get warning.
2014-12-26 18:08:41 +09:00
Tatsuhiro Tsujikawa d755df2505 TLS: Fix memory leak with OpenSSL
Based on the patch submitted by midnight2k
2014-12-26 18:04:50 +09:00